From f1c6cdaa9a4a737b0c0909b39abd5cb9b62f0a27 Mon Sep 17 00:00:00 2001 From: Oleg Kulachenko Date: Tue, 9 Jan 2024 18:48:23 +0700 Subject: [PATCH] s3_gate: Remove PutBucketTagging before PutObjectTagging In the discussion https://github.com/nspcc-dev/neofs-testcases/pull/699#discussion_r1438602718 it was noted that we don't have to use `PutBucketTagging` before `PutObjectTagging`. This commit removes PutBucketTagging in the test_s3_api_object_tagging test. Signed-off-by: Oleg Kulachenko --- dynamic_env_pytest_tests/tests/services/s3_gate/test_s3_gate.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/dynamic_env_pytest_tests/tests/services/s3_gate/test_s3_gate.py b/dynamic_env_pytest_tests/tests/services/s3_gate/test_s3_gate.py index 97c45a668..c3e10aecd 100644 --- a/dynamic_env_pytest_tests/tests/services/s3_gate/test_s3_gate.py +++ b/dynamic_env_pytest_tests/tests/services/s3_gate/test_s3_gate.py @@ -336,8 +336,6 @@ def test_s3_api_object_tagging(self, bucket, simple_object_size): file_name_simple = generate_file(simple_object_size) obj_key = self.object_key_from_file_path(file_name_simple) - s3_gate_bucket.put_bucket_tagging(self.s3_client, bucket, key_value_pair_bucket) - s3_gate_object.put_object_s3(self.s3_client, bucket, file_name_simple) for tags in (key_value_pair_obj, key_value_pair_obj_new):