Skip to content

Commit

Permalink
s3_gate: Remove PutBucketTagging before PutObjectTagging
Browse files Browse the repository at this point in the history
In the discussion
nspcc-dev#699 (comment)
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 <oleg@nspcc.ru>
  • Loading branch information
vvarg229 committed Jan 9, 2024
1 parent d4401db commit f1c6cda
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f1c6cda

Please sign in to comment.