Skip to content

Commit c96e14b

Browse files
committed
Removed unnecessary tests
1 parent 616183f commit c96e14b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/unit/test_retry.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,3 @@ def test_respect_server_retry_after__execute_statement_with_retry_after(self):
167167
should_retry, msg = policy.should_retry("POST", 429, has_retry_after=True)
168168
assert should_retry is True
169169

170-
def test_404_does_not_retry_for_any_command_type(self, retry_policy):
171-
"""Test that 404 never retries for any CommandType"""
172-
retry_policy._retry_start_time = time.time()
173-
174-
# Test for each CommandType
175-
for command_type in CommandType:
176-
retry_policy.command_type = command_type
177-
should_retry, msg = retry_policy.should_retry("POST", 404)
178-
179-
assert should_retry is False, f"404 should not retry for {command_type}"
180-
assert "404" in msg or "NOT_FOUND" in msg

0 commit comments

Comments
 (0)