()
| 42 | |
| 43 | |
| 44 | def test_retryable_flags(): |
| 45 | assert from_api_exception(_exc(429, body="{}")).retryable is True |
| 46 | assert from_api_exception(_exc(500, body="{}")).retryable is True |
| 47 | assert from_api_exception(_exc(404, body="{}")).retryable is False |
| 48 | assert from_api_exception(_exc(422, body="{}")).retryable is False |
| 49 | |
| 50 | |
| 51 | def test_idempotency_code_wins_over_status(): |
nothing calls this directly
no test coverage detected