Skip to content

Commit 50b6224

Browse files
committed
black
1 parent a045095 commit 50b6224

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mergin/test/test_common.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from ..common import ClientError, ErrorCode
22

3+
34
def test_client_error_is_blocked_sync():
45
"""Test the is_blocked_sync method of ClientError."""
56
error = ClientError(detail="", server_code=None)
@@ -12,6 +13,7 @@ def test_client_error_is_blocked_sync():
1213
error.server_code = ErrorCode.ProjectVersionExists.value
1314
assert error.is_blocking_sync() is True
1415

16+
1517
def test_client_error_is_rate_limit():
1618
"""Test the is_rate_limit method of ClientError."""
1719
error = ClientError(detail="", http_error=None)
@@ -21,6 +23,7 @@ def test_client_error_is_rate_limit():
2123
error.http_error = 429
2224
assert error.is_rate_limit() is True
2325

26+
2427
def test_client_error_is_retryable_sync():
2528
"""Test the is_retryable_sync method of ClientError."""
2629
error = ClientError(detail="", server_code=None, http_error=None)
@@ -43,4 +46,4 @@ def test_client_error_is_retryable_sync():
4346
error.http_error = 500
4447
assert error.is_retryable_sync() is False
4548
error.http_error = 429
46-
assert error.is_retryable_sync() is True
49+
assert error.is_retryable_sync() is True

0 commit comments

Comments
 (0)