Skip to content

Commit

Permalink
fix extra space in handlers test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgromero committed Oct 18, 2024
1 parent 1e16e8b commit 9594dca
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/unit/test_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,13 +505,13 @@ def test_500_status_code_set_for_200_response(self):
http_response = mock.Mock()
http_response.status_code = 200
http_response.content = """
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>id</RequestId>
<HostId>hostid</HostId>
</Error>
"""
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>id</RequestId>
<HostId>hostid</HostId>
</Error>
"""
handlers.check_for_200_error((http_response, {}))
self.assertEqual(http_response.status_code, 500)

Expand Down

0 comments on commit 9594dca

Please sign in to comment.