litellm/tests/unit/test_router
ryan-crabbe-berri 03aa6d6063 test: keep child-interpreter stdout checks independent of the inherited LITELLM_LOG
The content-policy fallbacks test wrote LITELLM_LOG=DEBUG into os.environ and never cleaned it up. Now that
LITELLM_LOG sets the SDK logger levels at import, every child interpreter spawned later in the same worker
printed the import-time debug records, which broke the exact-stdout assertions in the harness and lazy-import
tests. Drop the leaked write and have those two tests spawn their child without LITELLM_LOG so a developer's
shell setting cannot fail them either
2026-10-08 17:18:13 -07:00
..
__init__.py
test_enforce_model_rate_limits.py
test_io_token_rate_limits.py
test_router.py fix(router): honor a per-request fallbacks list on a mid-stream fallback (#45227) 2026-10-07 22:25:22 -07:00
test_router_callback_hook_sequence.py test: replace 61 live logging and otel tests with offline unit and integration coverage (#45362) 2026-10-08 15:55:57 -07:00
test_router_endpoints.py test: move the unit half of 126 mixed legacy files into tests/unit (#45090) 2026-10-07 14:07:43 -07:00
test_router_fallbacks.py test: keep child-interpreter stdout checks independent of the inherited LITELLM_LOG 2026-10-08 17:18:13 -07:00
test_router_get_deployments.py test: move the unit half of 126 mixed legacy files into tests/unit (#45090) 2026-10-07 14:07:43 -07:00
test_router_helper_utils.py test: move the unit half of 126 mixed legacy files into tests/unit (#45090) 2026-10-07 14:07:43 -07:00
test_router_provider_endpoints.py test: make 77 legacy live tests offline in litellm_utils, router_unit and responses dirs (#45298) 2026-10-08 02:37:55 -07:00
test_router_retries.py test: move the unit half of 126 mixed legacy files into tests/unit (#45090) 2026-10-07 14:07:43 -07:00
test_router_timeout.py test: move the unit half of 126 mixed legacy files into tests/unit (#45090) 2026-10-07 14:07:43 -07:00
test_router_vector_store_endpoints.py test: move 76 live top-level tests to offline unit and integration coverage (#45352) 2026-10-08 10:33:35 -07:00