Test QuotaExceededError with extended retry.
()
| 304 | |
| 305 | |
| 306 | def test_quota_exceeded_error(): |
| 307 | """Test QuotaExceededError with extended retry.""" |
| 308 | error = QuotaExceededError(req_id="req12") |
| 309 | |
| 310 | assert error.retry_after == 3600 # 1 hour |
| 311 | assert "quota exceeded" in error.message.lower() |
| 312 | |
| 313 | |
| 314 | def test_empty_response_error(): |
nothing calls this directly
no test coverage detected