]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/rgw: fix 'policy show' tests in radosgw_admin_rest task 23145/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 26 Jul 2018 19:43:23 +0000 (15:43 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 27 Jul 2018 18:29:48 +0000 (14:29 -0400)
commitb696c8493cc673c97ed92c019896186feb9f840a
tree1cc2f0a96751382c56e9017bd3e4a4797754d1ae
parent638fa1de42de56c7454772fec8f896fb33fc54ad
qa/rgw: fix 'policy show' tests in radosgw_admin_rest task

'policy show' returns a json-encoded representation of
RGWAccessControlPolicy, while key.get_xml_acl() returns
RGWAccessControlPolicy_S3 encoded as xml. so even with '&format=xml',
the strings won't match

Signed-off-by: Casey Bodley <cbodley@redhat.com>
qa/tasks/radosgw_admin_rest.py