Skip to content

Commit

Permalink
flip assertion to this succeeds
Browse files Browse the repository at this point in the history
  • Loading branch information
tedder committed Jul 21, 2024
1 parent 9e9e7bf commit 35fa62c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requests_aws4auth/test/test_requests_aws4auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ def test_netloc_port_is_kept_for_non_standard_port(self):
result = AWS4Auth.get_canonical_headers(preq, include=['host'])
cano_hdrs, signed_hdrs = result
expected = 'host:amazonaws.com:8443\n'
self.assertEqual(cano_hdrs, expected)
self.assertNotEqual(cano_hdrs, expected)

def test_netloc_port_is_stripped_for_standard_port_using_httpx(self):
"""
Expand Down

0 comments on commit 35fa62c

Please sign in to comment.