(self)
| 274 | assert retry.is_retry("POST", status_code=500) |
| 275 | |
| 276 | def test_exhausted(self) -> None: |
| 277 | assert not Retry(0).is_exhausted() |
| 278 | assert Retry(-1).is_exhausted() |
| 279 | assert Retry(1).increment(method="GET").total == 0 |
| 280 | |
| 281 | @pytest.mark.parametrize("total", [-1, 0]) |
| 282 | def test_disabled(self, total: int) -> None: |
nothing calls this directly
no test coverage detected