]> git.apps.os.sepia.ceph.com Git - s3-tests.git/commit
boto2: fix byte vs. string comparison in verify_object
authorCasey Bodley <cbodley@redhat.com>
Thu, 21 Sep 2023 14:00:37 +0000 (10:00 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 21 Sep 2023 14:00:39 +0000 (10:00 -0400)
commitb1efd0477a0357996e6fa8d75baf33b005237d5c
tree792bc76edb97cda63317480094218b542890fd10
parent9961af4bd2d11971aa2899fbafc0f49132aa8b7b
boto2: fix byte vs. string comparison in verify_object

the storage class tests were failing on comparisons between the input
data and output data:

AssertionError: assert 'oFbdZvtRj' == b'oFbdZvtRj'

convert the byte representation back to string for comparison

Signed-off-by: Casey Bodley <cbodley@redhat.com>
s3tests/functional/test_s3.py