Merge pull request #3083 from bblommers/s3-delete-object-tagging

S3: Delete Object Tagging
This commit is contained in:
Steve Pulec 2020-07-03 20:52:15 -05:00 committed by GitHub
commit 3ccf8f6cbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 3 deletions

View file

@ -2424,9 +2424,13 @@ def test_boto3_put_object_with_tagging():
s3.put_object(Bucket=bucket_name, Key=key, Body="test", Tagging="foo=bar")
resp = s3.get_object_tagging(Bucket=bucket_name, Key=key)
s3.get_object_tagging(Bucket=bucket_name, Key=key)["TagSet"].should.contain(
{"Key": "foo", "Value": "bar"}
)
resp["TagSet"].should.contain({"Key": "foo", "Value": "bar"})
s3.delete_object_tagging(Bucket=bucket_name, Key=key)
s3.get_object_tagging(Bucket=bucket_name, Key=key)["TagSet"].should.equal([])
@mock_s3