litellm/tests/test_litellm/responses
yuneng-jiang a81a1968ed Fix test isolation: clear litellm.callbacks and model_fallbacks between tests
The isolate_litellm_state conftest fixture saved/restored litellm.callbacks
but never cleared it before each test, unlike the other callback lists. It
also didn't handle litellm.model_fallbacks. Leaked callbacks and fallback
config caused mocked tests to route through Router/fallback paths, hitting
real APIs with mock keys.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 16:43:15 -07:00
..
litellm_completion_transformation Reapply "feat: add model_cost aliases expansion support" 2026-03-12 13:36:57 -03:00
mcp [Fix] Pass MCP auth headers from request into tool fetch for /v1/responses and chat completions (#22291) 2026-02-27 19:15:51 -08:00
test_metadata_codex_callback.py Fix test isolation: clear litellm.callbacks and model_fallbacks between tests 2026-03-15 16:43:15 -07:00
test_no_duplicate_spend_logs.py fix(test): add timeout to flush() call to prevent 300s hang in CI (#21819) 2026-02-21 14:10:57 -08:00
test_null_test_fix.py Fix: Responses content can't be none 2026-01-14 12:13:18 +05:30
test_responses_api_request_body.py [Feat] Adds support for server-side compaction on the OpenAI Responses API context_management (#21058) 2026-02-12 10:00:30 -08:00
test_responses_utils.py Add test case 2026-02-20 16:22:44 +05:30
test_responses_websocket_all_providers.py Add tests for resp 2026-03-04 18:27:06 +05:30
test_text_format_conversion.py Fix: test_text_format_to_text_conversion - properly mock handler to avoid API calls 2026-01-08 16:37:12 +05:30