]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa,test: decode return val of base64.b64encode()
authorKefu Chai <kchai@redhat.com>
Mon, 6 Apr 2020 10:55:53 +0000 (18:55 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 7 Apr 2020 13:51:23 +0000 (21:51 +0800)
commit91b49ab39d7377e0816fa3c44e2cabed9ce14f12
treec5135e6170424bd982b6e275cfa07d30a591ac45
parentc79e1e1a525e08d55fd60c2333e8f5d4df603350
qa,test: decode return val of base64.b64encode()

base64.b64encode() returns bytes in Python3, and we will pass it as a
commandline parameter later on, which will be quoted. so the command
line can be consumed by shell. so before sending it to shell, we should
convert it to string.

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/tasks/ragweed.py
qa/tasks/s3tests_java.py
src/test/rgw/rgw_multi/zone_ps.py