From: ankitagrawal Date: Tue, 22 Sep 2015 13:01:19 +0000 (-0700) Subject: Remove duplicate keys from dictionary X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=3086c042e4bcf92fe0f5e8e427a3abeecba42b90;p=openstack-build%2Fcinder-build.git Remove duplicate keys from dictionary There are few places where duplicate keys are added in the dictionary. Removed all such occurrences throughout the code. TrivialFix Change-Id: I5db553d4d9f161b513520c87b6ad17b7ca6a0782 --- diff --git a/cinder/tests/unit/test_huawei_drivers.py b/cinder/tests/unit/test_huawei_drivers.py index 9794c4b93..ba4cd48df 100644 --- a/cinder/tests/unit/test_huawei_drivers.py +++ b/cinder/tests/unit/test_huawei_drivers.py @@ -84,7 +84,6 @@ test_snap = {'name': 'volume-21ec7341-9256-497b-97d9-ef48edcf0635', 'display_description': 'test volume', 'volume_type_id': None, 'provider_location': '11', - 'volume': {"volume_id": '21ec7341-9256-497b-97d9-ef48edcf0635'}, 'volume': {'provider_location': '12'}, } diff --git a/cinder/tests/unit/volume/drivers/netapp/dataontap/test_nfs_cmode.py b/cinder/tests/unit/volume/drivers/netapp/dataontap/test_nfs_cmode.py index 0614b83a8..fb9dd7c37 100644 --- a/cinder/tests/unit/volume/drivers/netapp/dataontap/test_nfs_cmode.py +++ b/cinder/tests/unit/volume/drivers/netapp/dataontap/test_nfs_cmode.py @@ -154,7 +154,6 @@ class NetAppCmodeNfsDriverTestCase(test.TestCase): 'netapp_raid_type': 'raiddp', 'netapp_disk_type': 'SSD', 'netapp_nodedup': 'true', - 'reserved_percentage': 7, 'max_over_subscription_ratio': 19.0, 'provisioned_capacity_gb': 4456.0}]