Test UpstreamError default status and retry.
()
| 286 | |
| 287 | |
| 288 | def test_upstream_error_defaults(): |
| 289 | """Test UpstreamError default status and retry.""" |
| 290 | error = UpstreamError("Upstream issue") |
| 291 | |
| 292 | assert error.http_status == 502 |
| 293 | assert error.retry_after == 10 |
| 294 | |
| 295 | |
| 296 | def test_ai_studio_error(): |
nothing calls this directly
no test coverage detected