fix GetBucketTagging error code

related to https://tracker.ceph.com/issues/55460

Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
Casey Bodley 2022-05-18 09:40:14 -04:00
parent 33afb4eb88
commit 5b08b26453

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):