Merge pull request #452 from cbodley/wip-no-such-tag-set

fix GetBucketTagging error code

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
This commit is contained in:
Daniel Gryniewicz 2022-05-18 14:34:14 -04:00 committed by GitHub
commit 97be0d44c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7799,7 +7799,7 @@ def test_set_bucket_tagging():
e = assert_raises(ClientError, client.get_bucket_tagging, Bucket=bucket_name)
status, error_code = _get_status_and_error_code(e.response)
eq(status, 404)
eq(error_code, 'NoSuchTagSetError')
eq(error_code, 'NoSuchTagSet')
client.put_bucket_tagging(Bucket=bucket_name, Tagging=tags)
@ -7812,7 +7812,7 @@ def test_set_bucket_tagging():
e = assert_raises(ClientError, client.get_bucket_tagging, Bucket=bucket_name)
status, error_code = _get_status_and_error_code(e.response)
eq(status, 404)
eq(error_code, 'NoSuchTagSetError')
eq(error_code, 'NoSuchTagSet')
class FakeFile(object):