Remove aodh/gnocchiclient remapping
(python-)aodhclient is, unlike all the other openstack clients, actually registered as aodhclient in pypi. Same for gnocchiclient. Change-Id: If8b9e99d8719a46de3aca72be702a35159b5ba6e
This commit is contained in:
parent
71b55a998a
commit
873030f1e9
|
@ -136,10 +136,10 @@ SUSE_PKG_MAP = [
|
|||
# OpenStack clients
|
||||
MultiRule(
|
||||
mods=['python-%sclient' % c for c in (
|
||||
'k8s', 'aodh', 'barbican', 'ceilometer', 'cinder', 'congress',
|
||||
'designate', 'fuel', 'heat', 'glance', 'gnocchi', 'ironic',
|
||||
'k8s', 'barbican', 'ceilometer', 'cinder', 'congress',
|
||||
'designate', 'fuel', 'heat', 'glance', 'ironic',
|
||||
'ironic-inspector-', 'keystone', 'magnum', 'manila', 'mistral',
|
||||
'murano', 'monasca', 'neutron', 'nova', 'openstack', 'sahara',
|
||||
'monasca', 'murano', 'neutron', 'nova', 'openstack', 'sahara',
|
||||
'searchlight', 'senlin', 'smaug', 'solum', 'swift', 'tacker',
|
||||
'tripleo', 'trove', 'watcher', 'zaqar')],
|
||||
pkgfun=lambda x: x),
|
||||
|
|
8
tests.py
8
tests.py
|
@ -39,9 +39,15 @@ class Pymod2PkgTests(unittest.TestCase):
|
|||
def test_translation_suse(self):
|
||||
self.assertEqual(pymod2pkg.module2package('nova', 'suse'),
|
||||
'openstack-nova')
|
||||
self.assertEqual(pymod2pkg.module2package('python-aodhclient',
|
||||
self.assertEqual(pymod2pkg.module2package('aodhclient',
|
||||
'suse'),
|
||||
'python-aodhclient')
|
||||
self.assertEqual(pymod2pkg.module2package('gnocciclient',
|
||||
'suse'),
|
||||
'python-gnocciclient')
|
||||
self.assertEqual(pymod2pkg.module2package('python-cinderclient',
|
||||
'suse'),
|
||||
'python-cinderclient')
|
||||
self.assertEqual(pymod2pkg.module2package('python-neutronclient',
|
||||
'suse'),
|
||||
'python-neutronclient')
|
||||
|
|
Loading…
Reference in New Issue