Replace deprecated assertItemsEqual
It has been provided by testtools to ease migration from python 2, but was deprecated in 2.7.2[1] and will be removed in 2.8.0[2]. [1] https://github.com/testing-cabal/testtools/commit/e0d56b7ce65ae5b3d [2] https://github.com/testing-cabal/testtools/commit/f01e86084e6a858d1 Change-Id: I86ae9c8daacccd09874f83d1142f02c80256031f
This commit is contained in:
@@ -47,7 +47,7 @@ class TestConfig(base.TestCase):
|
||||
'_test_cloud_regions'
|
||||
]
|
||||
configured_clouds = [cloud.name for cloud in clouds]
|
||||
self.assertItemsEqual(user_clouds, configured_clouds)
|
||||
self.assertCountEqual(user_clouds, configured_clouds)
|
||||
|
||||
def test_get_one_cloud(self):
|
||||
c = config.OpenStackConfig(
|
||||
|
||||
Reference in New Issue
Block a user