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:
@@ -330,7 +330,7 @@ UBUNTU_PKG_MAP = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
OPENSTACK_UPSTREAM_PKG_MAP = [
|
OPENSTACK_UPSTREAM_PKG_MAP = [
|
||||||
SingleRule('openstacksdk', 'python-openstacksdk'),
|
SingleRule('openstack-placement', 'placement'),
|
||||||
SingleRule('gnocchiclient', 'python-gnocchiclient'),
|
SingleRule('gnocchiclient', 'python-gnocchiclient'),
|
||||||
SingleRule('aodhclient', 'python-aodhclient'),
|
SingleRule('aodhclient', 'python-aodhclient'),
|
||||||
SingleRule('keystoneauth1', 'keystoneauth'),
|
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('oslo.db'), 'oslo.db')
|
||||||
self.assertEqual(pymod2pkg.module2upstream('python-glanceclient'),
|
self.assertEqual(pymod2pkg.module2upstream('python-glanceclient'),
|
||||||
'python-glanceclient')
|
'python-glanceclient')
|
||||||
self.assertEqual(pymod2pkg.module2upstream('openstacksdk'),
|
self.assertEqual(pymod2pkg.module2upstream('openstack-placement'),
|
||||||
'python-openstacksdk')
|
'placement')
|
||||||
self.assertNotEqual(pymod2pkg.module2upstream('keystoneauth1'),
|
self.assertNotEqual(pymod2pkg.module2upstream('keystoneauth1'),
|
||||||
'keystoneauth1')
|
'keystoneauth1')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user