mirror of
https://github.com/ceph/ceph
synced 2025-03-31 16:25:56 +00:00
Merge PR #28171 into master
* refs/pull/28171/head: test_volume_client: simplify test_get_authorized_ids() Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
commit
38fc69d0fa
@ -686,8 +686,7 @@ vc.disconnect()
|
||||
volume_id=volume_id,
|
||||
)))
|
||||
# Check the list of authorized IDs for the volume.
|
||||
expected_result = None
|
||||
self.assertEqual(str(expected_result), auths)
|
||||
self.assertEqual('None', auths)
|
||||
|
||||
# Allow two auth IDs access to the volume.
|
||||
auths = self._volume_client_python(volumeclient_mount, dedent("""
|
||||
@ -724,8 +723,7 @@ vc.disconnect()
|
||||
guest_entity_2=guest_entity_2,
|
||||
)))
|
||||
# Check the list of authorized IDs for the volume.
|
||||
expected_result = None
|
||||
self.assertItemsEqual(str(expected_result), auths)
|
||||
self.assertEqual('None', auths)
|
||||
|
||||
def test_multitenant_volumes(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user