From: Rishabh Dave Date: Mon, 20 May 2019 09:30:07 +0000 (+0200) Subject: test_volume_client: simplify test_get_authorized_ids() X-Git-Tag: v15.1.0~2520^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=79d62dd87461c43dd6df3775f21962be9042a7b1;p=ceph-ci.git test_volume_client: simplify test_get_authorized_ids() Signed-off-by: Rishabh Dave --- diff --git a/qa/tasks/cephfs/test_volume_client.py b/qa/tasks/cephfs/test_volume_client.py index 06094dd6fe9..95e4a212809 100644 --- a/qa/tasks/cephfs/test_volume_client.py +++ b/qa/tasks/cephfs/test_volume_client.py @@ -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): """