mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Merge "Replace assertItemsEqual with assertCountEqual"
This commit is contained in:
commit
f4e4cd25c5
1 changed files with 2 additions and 2 deletions
|
|
@ -198,7 +198,7 @@ class TestVolumeMessageList(TestVolumeMessage):
|
|||
limit=None,
|
||||
)
|
||||
self.assertEqual(self.columns, columns)
|
||||
self.assertItemsEqual(self.data, list(data))
|
||||
self.assertCountEqual(self.data, list(data))
|
||||
|
||||
def test_message_list_with_options(self):
|
||||
self.app.client_manager.volume.api_version = \
|
||||
|
|
@ -227,7 +227,7 @@ class TestVolumeMessageList(TestVolumeMessage):
|
|||
limit=3,
|
||||
)
|
||||
self.assertEqual(self.columns, columns)
|
||||
self.assertItemsEqual(self.data, list(data))
|
||||
self.assertCountEqual(self.data, list(data))
|
||||
|
||||
def test_message_list_pre_v33(self):
|
||||
self.app.client_manager.volume.api_version = \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue