Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linting cleanup for s3 redirects tests #3100

Merged
merged 1 commit into from
Jan 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions tests/functional/test_s3_control_redirects.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
InvalidHostLabelError,
ParamValidationError,
UnsupportedS3ControlArnError,
UnsupportedS3ControlConfigurationError,
)
from botocore.session import Session
from tests import ClientHTTPStubber, unittest
Expand Down Expand Up @@ -131,7 +130,7 @@
'x-amz-outpost-id': 'op-01234567890123456',
'x-amz-account-id': '123456789012',
},
}
},
},
{
'arn': 'arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint',
Expand Down Expand Up @@ -263,7 +262,7 @@
'x-amz-outpost-id': 'op-01234567890123456',
'x-amz-account-id': '123456789012',
},
}
},
},
{
'arn': 'arn:aws:s3-outposts:us-west-2:123456789012:outpost',
Expand Down Expand Up @@ -415,7 +414,6 @@ def test_outpost_id_redirection_dualstack(self):
_assert_netloc(self.stubber, 's3-outposts.us-west-2.api.aws')
_assert_header(self.stubber, 'x-amz-outpost-id', 'op-123')


def test_outpost_id_redirection_create_bucket(self):
self.stubber.add_response()
with self.stubber:
Expand Down