From 97d5206cd1ba4e607552b9fc0d0d0286d94e2c8a Mon Sep 17 00:00:00 2001 From: Anton Shutik Date: Fri, 15 Nov 2024 14:15:17 +0100 Subject: [PATCH] test --- tests/test_retry.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_retry.py b/tests/test_retry.py index 229f569..c0cebb6 100644 --- a/tests/test_retry.py +++ b/tests/test_retry.py @@ -4,6 +4,9 @@ from unittest.mock import MagicMock, patch + + + def test_gets_response_after_retry_on_connection_error(shopify_client): with patch( "urllib3.connectionpool.HTTPConnectionPool._make_request" @@ -26,6 +29,8 @@ def test_gets_response_after_retry_on_connection_error(shopify_client): assert mock_request.call_count == 4 + + def test_fails_after_retry_on_connection_error(shopify_client): with patch( "urllib3.connectionpool.HTTPConnectionPool._make_request"