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:
Javier Pena 2019-10-11 10:46:01 +02:00
parent 756c7a7cdf
commit 7f6c72d97b
2 changed files with 3 additions and 3 deletions

View File

@ -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'),

View File

@ -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')