mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-22 09:29:43 +00:00
fix GetBucketTagging error code
related to https://tracker.ceph.com/issues/55460
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 5b08b26453
)
This commit is contained in:
parent
67251732b7
commit
093e510c39
1 changed files with 2 additions and 2 deletions
|
@ -7613,7 +7613,7 @@ def test_set_bucket_tagging():
|
||||||
e = assert_raises(ClientError, client.get_bucket_tagging, Bucket=bucket_name)
|
e = assert_raises(ClientError, client.get_bucket_tagging, Bucket=bucket_name)
|
||||||
status, error_code = _get_status_and_error_code(e.response)
|
status, error_code = _get_status_and_error_code(e.response)
|
||||||
eq(status, 404)
|
eq(status, 404)
|
||||||
eq(error_code, 'NoSuchTagSetError')
|
eq(error_code, 'NoSuchTagSet')
|
||||||
|
|
||||||
client.put_bucket_tagging(Bucket=bucket_name, Tagging=tags)
|
client.put_bucket_tagging(Bucket=bucket_name, Tagging=tags)
|
||||||
|
|
||||||
|
@ -7626,7 +7626,7 @@ def test_set_bucket_tagging():
|
||||||
e = assert_raises(ClientError, client.get_bucket_tagging, Bucket=bucket_name)
|
e = assert_raises(ClientError, client.get_bucket_tagging, Bucket=bucket_name)
|
||||||
status, error_code = _get_status_and_error_code(e.response)
|
status, error_code = _get_status_and_error_code(e.response)
|
||||||
eq(status, 404)
|
eq(status, 404)
|
||||||
eq(error_code, 'NoSuchTagSetError')
|
eq(error_code, 'NoSuchTagSet')
|
||||||
|
|
||||||
|
|
||||||
class FakeFile(object):
|
class FakeFile(object):
|
||||||
|
|
Loading…
Reference in a new issue