Fix some upstream mappings
- openstack-placement maps to placement in the openstack repos - openstacksdk now maps to the same name Change-Id: I9f5dd0300c6fb9eb21784bc98971a06294826273
This commit is contained in:
parent
756c7a7cdf
commit
7f6c72d97b
|
@ -330,7 +330,7 @@ UBUNTU_PKG_MAP = [
|
|||
]
|
||||
|
||||
OPENSTACK_UPSTREAM_PKG_MAP = [
|
||||
SingleRule('openstacksdk', 'python-openstacksdk'),
|
||||
SingleRule('openstack-placement', 'placement'),
|
||||
SingleRule('gnocchiclient', 'python-gnocchiclient'),
|
||||
SingleRule('aodhclient', 'python-aodhclient'),
|
||||
SingleRule('keystoneauth1', 'keystoneauth'),
|
||||
|
|
4
tests.py
4
tests.py
|
@ -89,8 +89,8 @@ class Pymod2PkgTests(unittest.TestCase):
|
|||
self.assertEqual(pymod2pkg.module2upstream('oslo.db'), 'oslo.db')
|
||||
self.assertEqual(pymod2pkg.module2upstream('python-glanceclient'),
|
||||
'python-glanceclient')
|
||||
self.assertEqual(pymod2pkg.module2upstream('openstacksdk'),
|
||||
'python-openstacksdk')
|
||||
self.assertEqual(pymod2pkg.module2upstream('openstack-placement'),
|
||||
'placement')
|
||||
self.assertNotEqual(pymod2pkg.module2upstream('keystoneauth1'),
|
||||
'keystoneauth1')
|
||||
|
||||
|
|
Loading…
Reference in New Issue