]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/rgw: Cluster.admin() returns output as utf-8 str
authorCasey Bodley <cbodley@redhat.com>
Mon, 4 May 2020 20:39:59 +0000 (16:39 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 5 May 2020 16:10:11 +0000 (12:10 -0400)
commitff5ce2cf1457e1945aea0fe4a023bc48bffe1174
tree748bd82ec1b521da7821cb989d5b09940bc746da
parentcebce38f1c699b52127ba591c1754423ef9551af
test/rgw: Cluster.admin() returns output as utf-8 str

fixes the TypeError:

  File "rgw_multi/tests.py", line 1107, in test_bucket_sync_disable
    check_buckets_sync_status_obj_not_exist(zone, buckets)
  File "rgw_multi/tests.py", line 438, in check_buckets_sync_status_obj_not_exist
    if log_list.find(':'+bucket+":") >= 0:
TypeError: argument should be integer or bytes-like object, not 'str'

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/test/rgw/test_multi.py