mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
A test that asserts on the error inside its own except block passes when the call stops raising, because nothing runs the handler. That is the exact case the test exists to catch, so the regression lands green. Rewrites all 111 such blocks into pytest.raises, which fails when the call succeeds, and selects PT017 in ruff-tests.toml so no new one lands. |
||
|---|---|---|
| .. | ||
| test_e2e_budgeting.py | ||
| test_e2e_model_access.py | ||
| test_guardrails.py | ||
| test_key_logging_callbacks.py | ||
| test_model_info.py | ||
| test_moderations.py | ||
| test_otel.py | ||
| test_prometheus.py | ||
| test_rerank.py | ||
| test_team_member_permissions.py | ||
| test_team_tag_routing.py | ||