Skip to content

Commit

Permalink
style: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Jul 31, 2024
1 parent da0e790 commit aeb12a4
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions tests/unit/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,22 @@ def test_request_limit_then_success(self, client, rate_limit_response):
APIException(code="conflict", message="Error", details=None),
True,
),
(APIException(code=409, message="Conflict", details=None), False),
(APIException(code=502, message="Bad Gateway", details=None), True),
(
APIException(code=409, message="Conflict", details=None),
False,
),
(
APIException(code=502, message="Bad Gateway", details=None),
True,
),
(
APIException(code=503, message="Service Unavailable", details=None),
False,
),
(APIException(code=504, message="Gateway Timeout", details=None), True),
(
APIException(code=504, message="Gateway Timeout", details=None),
True,
),
],
)
def test_retry_policy(self, client, exception, expected):
Expand Down

0 comments on commit aeb12a4

Please sign in to comment.