diff options
Diffstat (limited to 'dev-python/os-client-config/files/test_get_all_clouds.patch')
-rw-r--r-- | dev-python/os-client-config/files/test_get_all_clouds.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/os-client-config/files/test_get_all_clouds.patch b/dev-python/os-client-config/files/test_get_all_clouds.patch new file mode 100644 index 000000000000..b6c9e822da2b --- /dev/null +++ b/dev-python/os-client-config/files/test_get_all_clouds.patch @@ -0,0 +1,13 @@ +diff --git a/os_client_config/tests/test_config.py b/os_client_config/tests/test_config.py +index 6bb65fc..743ef76 100644 +--- a/os_client_config/tests/test_config.py ++++ b/os_client_config/tests/test_config.py +@@ -38,7 +38,7 @@ class TestConfig(base.TestCase): + cloud for cloud in base.USER_CONF['clouds'].keys() + ] + ['_test_cloud_regions'] + configured_clouds = [cloud.name for cloud in clouds] +- self.assertItemsEqual(user_clouds, configured_clouds) ++ self.assertSetEqual(set(user_clouds), set(configured_clouds)) + + def test_get_one_cloud(self): + c = config.OpenStackConfig(config_files=[self.cloud_yaml], |