Merge pull request #602 from pritha-srivastava/wip-rgw-change-err-code

rgw/s3tests: making the tests generic to check only
This commit is contained in:
Casey Bodley 2024-11-22 10:24:58 -05:00 committed by GitHub
commit 391587a062
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5296,7 +5296,6 @@ def test_list_buckets_invalid_auth():
e = assert_raises(ClientError, bad_auth_client.list_buckets)
status, error_code = _get_status_and_error_code(e.response)
assert status == 403
assert error_code == 'InvalidAccessKeyId'
def test_list_buckets_bad_auth():
main_access_key = get_main_aws_access_key()
@ -5304,7 +5303,6 @@ def test_list_buckets_bad_auth():
e = assert_raises(ClientError, bad_auth_client.list_buckets)
status, error_code = _get_status_and_error_code(e.response)
assert status == 403
assert error_code == 'SignatureDoesNotMatch'
@pytest.fixture
def override_prefix_a():