diff --git a/s3tests/functional/test_s3.py b/s3tests/functional/test_s3.py index cc70c24..9072c80 100644 --- a/s3tests/functional/test_s3.py +++ b/s3tests/functional/test_s3.py @@ -290,7 +290,7 @@ def verify_object(bucket, k, data=None, storage_class=None): if data: read_data = k.get_contents_as_string() - equal = data == read_data # avoid spamming log if data not equal + equal = data == read_data.decode() # avoid spamming log if data not equal assert equal == True def copy_object_storage_class(src_bucket, src_key, dest_bucket, dest_key, storage_class): @@ -362,6 +362,9 @@ def configured_storage_classes(): if item != 'STANDARD': sc.append(item) + sc = [i for i in sc if i] + print("storage classes configured: " + str(sc)) + return sc def lc_transition(days=None, date=None, storage_class=None):