Skip to content

Commit

Permalink
ensure we do not retry on bare HTTP 429
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Jul 31, 2024
1 parent aeb12a4 commit fbe20f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,10 @@ def test_request_limit_then_success(self, client, rate_limit_response):
APIException(code=409, message="Conflict", details=None),
False,
),
(
APIException(code=429, message="Too Many Requests", details=None),
False,
),
(
APIException(code=502, message="Bad Gateway", details=None),
True,
Expand Down

0 comments on commit fbe20f3

Please sign in to comment.