Skip to content

Commit

Permalink
Linting cleanup for s3 redirects tests (#3100)
Browse files Browse the repository at this point in the history
  • Loading branch information
nateprewitt authored Jan 15, 2024
1 parent 175d1d0 commit 0136114
Showing 1 changed file with 2 additions and 4 deletions.
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

0 comments on commit 0136114

Please sign in to comment.