fix AttributeError in set_bucket_versioning
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
This commit is contained in:
parent
30703bf701
commit
38bb0c35a6
1 changed files with 1 additions and 3 deletions
|
@ -558,9 +558,7 @@ class TestS3GateObject(TestS3GateBase):
|
||||||
tag_value_2 = uuid.uuid4()
|
tag_value_2 = uuid.uuid4()
|
||||||
tag_2 = f"{tag_key_2}={tag_value_2}"
|
tag_2 = f"{tag_key_2}={tag_value_2}"
|
||||||
bucket = s3_gate_bucket.create_bucket_s3(self.s3_client)
|
bucket = s3_gate_bucket.create_bucket_s3(self.s3_client)
|
||||||
set_bucket_versioning(
|
set_bucket_versioning(self.s3_client, bucket, s3_gate_bucket.VersioningStatus.SUSPENDED)
|
||||||
self.s3_client, bucket, s3_gate_bucket.VersioningStatus.SUSPENDED.value
|
|
||||||
)
|
|
||||||
|
|
||||||
with allure.step("Put first object into bucket"):
|
with allure.step("Put first object into bucket"):
|
||||||
s3_gate_object.put_object_s3(
|
s3_gate_object.put_object_s3(
|
||||||
|
|
Loading…
Reference in a new issue