From aeb12a45e2eb01172402aa4017a061aed28a9878 Mon Sep 17 00:00:00 2001 From: jo Date: Wed, 31 Jul 2024 10:16:55 +0200 Subject: [PATCH] style: fmt --- tests/unit/test_client.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/tests/unit/test_client.py b/tests/unit/test_client.py index ee9b341..fa7e3a0 100644 --- a/tests/unit/test_client.py +++ b/tests/unit/test_client.py @@ -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):