From ac987c49aad0eed6e5bb91c22c92a29e6a24bb72 Mon Sep 17 00:00:00 2001 From: Vladimir Avdeev Date: Fri, 9 Dec 2022 14:43:40 +0300 Subject: [PATCH] Fix s3 object tests after remove obj size hardcode Signed-off-by: Vladimir Avdeev --- pytest_tests/testsuites/services/s3_gate/test_s3_object.py | 4 ++-- 1 file changed, 2 insertions(+), 2 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 ca19ae7..28a37ec 100644 --- a/pytest_tests/testsuites/services/s3_gate/test_s3_object.py +++ b/pytest_tests/testsuites/services/s3_gate/test_s3_object.py @@ -79,7 +79,7 @@ class TestS3GateObject(TestS3GateBase): s3_gate_object.copy_object_s3(self.s3_client, bucket_1, file_name) @allure.title("Test S3: Copy version of object") - def test_s3_copy_version_object(self, two_buckets): + def test_s3_copy_version_object(self, two_buckets, simple_object_size): version_1_content = "Version 1" file_name_simple = generate_file_with_content(simple_object_size, content=version_1_content) obj_key = os.path.basename(file_name_simple) @@ -349,7 +349,7 @@ class TestS3GateObject(TestS3GateBase): ), f"Expected object has versions: {version_to_save}" @allure.title("Test S3: Get versions of object") - def test_s3_get_versioning(self, bucket): + def test_s3_get_versioning(self, bucket, simple_object_size): version_1_content = "Version 1" version_2_content = "Version 2" file_name_simple = generate_file_with_content(simple_object_size, content=version_1_content)