Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Murino <[email protected]>
  • Loading branch information
brunomurino committed Dec 2, 2024
1 parent a1cc5b5 commit 75437cb
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -530,10 +530,7 @@ def test_aws_signer_signs_with_query_string(self, mock_sign: Any) -> None:
).prepare()
auth(prepared_request)
self.assertEqual(mock_sign.call_count, 1)
self.assertEqual(
mock_sign.call_args[0],
("GET", "http://localhost/?key1=value1&key2=value2", None),
)
mock_sign.assert_called_with(method='GET', url='http://localhost/?key1=value1&key2=value2', body=None, headers={})

def test_aws_signer_consitent_url(self) -> None:
region = "us-west-2"
Expand Down

0 comments on commit 75437cb

Please sign in to comment.