Remove duplicate keys from dictionary

There are a few places where duplicate keys are defined in the
dictionary. Removed all such occurrences throughout the code.

TrivialFix

Change-Id: I3f22a2ce3bc4d67bfaed2dee7918610b3225e26e
This commit is contained in:
Ankit Agrawal 2015-12-16 22:32:57 -08:00
parent 51069d5390
commit 58af05447d
4 changed files with 0 additions and 6 deletions

View File

@ -603,7 +603,6 @@ class HostStateTestCase(test.TestCase):
'reserved_percentage': 0,
'dying_disks': 200,
'super_hero_1': 'superman',
'super_hero_2': ' ',
'super_hero_2': 'Hulk',
}
],

View File

@ -458,7 +458,6 @@ class HuaweiShareDriverTestCase(test.TestCase):
'share_proto': 'NFS',
'share_network_id': 'fake_net_id',
'share_server_id': 'fake-share-srv-id',
'host': 'fake_host@fake_backend#OpenStack_Pool',
'export_locations': [
{'path': '100.115.10.68:/share_fake_uuid'},
],

View File

@ -53,8 +53,6 @@ class ShareNetworkAdminTest(
type_of_creds='alt')
cls.data_sn_with_kerberos_ss = {
'name': 'sn_with_kerberos_ss',
'neutron_net_id': '3333',
'neutron_subnet_id': '4444',
'created_at': '2003-03-03',
'updated_at': None,
'neutron_net_id': 'test net id',

View File

@ -117,8 +117,6 @@ class ShareNetworksTest(base.BaseSharesTest, ShareNetworkListMixin):
cls.data_sn_with_kerberos_ss = {
'name': 'sn_with_kerberos_ss',
'neutron_net_id': '3333',
'neutron_subnet_id': '4444',
'created_at': '2003-03-03',
'updated_at': None,
'neutron_net_id': 'test net id',