From 38bb0c35a66042ca6d21becf190de05d3c770a3e Mon Sep 17 00:00:00 2001 From: Aleksey Lipay Date: Thu, 15 Sep 2022 12:46:45 +0300 Subject: [PATCH] fix AttributeError in set_bucket_versioning Signed-off-by: Yulia Kovshova --- pytest_tests/testsuites/services/s3_gate/test_s3_object.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pytest_tests/testsuites/services/s3_gate/test_s3_object.py b/pytest_tests/testsuites/services/s3_gate/test_s3_object.py index 78dc0c0..81df70d 100644 --- a/pytest_tests/testsuites/services/s3_gate/test_s3_object.py +++ b/pytest_tests/testsuites/services/s3_gate/test_s3_object.py @@ -558,9 +558,7 @@ class TestS3GateObject(TestS3GateBase): tag_value_2 = uuid.uuid4() tag_2 = f"{tag_key_2}={tag_value_2}" bucket = s3_gate_bucket.create_bucket_s3(self.s3_client) - set_bucket_versioning( - self.s3_client, bucket, s3_gate_bucket.VersioningStatus.SUSPENDED.value - ) + set_bucket_versioning(self.s3_client, bucket, s3_gate_bucket.VersioningStatus.SUSPENDED) with allure.step("Put first object into bucket"): s3_gate_object.put_object_s3(