Skip to content

Commit

Permalink
clean up test typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgromero committed Sep 5, 2024
1 parent 822dfe6 commit 67ad92b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/unit/test_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,9 @@ def test_retry_events_can_alter_behavior(self):
)

def test_retry_on_socket_errors(self):
val = self.get_emitter_responses(num_retries=1, num_events=3)
self.event_emitter.emit.side_effect = val
self.event_emitter.emit.side_effect = self.get_emitter_responses(
num_retries=1, num_events=3
)
self.http_session.send.side_effect = HTTPClientError(error='wrapped')
with self.assertRaises(HTTPClientError):
self.endpoint.make_request(self._operation, request_dict())
Expand Down

0 comments on commit 67ad92b

Please sign in to comment.