Merge pull request #3083 from bblommers/s3-delete-object-tagging
S3: Delete Object Tagging
This commit is contained in:
commit
3ccf8f6cbf
4 changed files with 23 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue