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:
Patrick Donnelly 2019-06-07 21:20:18 -07:00
commit 38fc69d0fa
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB

View File

@ -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):
"""