litellm/tests
Yuneng Jiang d6cfef1da9
test(proxy): check component allowlist coverage against a running proxy
The unit test that checked every proxy route is kept by the gateway or the
backend spawned a child interpreter that imports the whole proxy app. Under
CI's coverage it regularly ran past its 90s timeout and failed the
proxy-infra-root shard.

That check needs the real route table, so it now lives in
tests/integration/configuration. It starts a fresh proxy in lazy-route mode,
reads GET /routes, skips mounted sub-app entries as the old test skipped
Mounts, and asserts every path matches the gateway or backend allowlist. The
unit file keeps its in-process tests.
2026-11-11 16:44:44 -08:00
..
_support feat(mcp): add an opt-in per-server setting to skip MCP tool output validation (#49961) 2026-11-03 20:42:10 -08:00
audio_tests
base_sdk_tests feat(packaging): build litellm-proxy gateway wheels (#49605) 2026-11-05 16:37:12 -08:00
basic_proxy_startup_tests feat(docker)!: one shipped image and one entrypoint beside the Dockerfile (#43332) 2026-11-10 18:32:16 -08:00
benchmarks fix(realtime)!: send the Gemini Live setup at the first content so session.update settings apply (#39864) 2026-10-30 01:31:39 -07:00
code_coverage_tests chore: remove cookbook and preserve live assets (#50944) 2026-11-11 15:38:27 -08:00
documentation_tests
e2e ci: remove CircleCI (#50950) 2026-11-11 15:38:27 -08:00
e2e_harness test(e2e): add a Codex row where a sub-agent must read the task its parent hands it (#50494) 2026-11-07 21:16:39 +00:00
fixtures
harness_e2e
integration test(proxy): check component allowlist coverage against a running proxy 2026-11-11 16:44:44 -08:00
rust-python-harness feat(messages): serve anthropic messages on rust only (#51119) 2026-11-12 00:07:20 +00:00
test_litellm_rust feat(messages): serve anthropic messages on rust only (#51119) 2026-11-12 00:07:20 +00:00
typing
unit test(proxy): check component allowlist coverage against a running proxy 2026-11-11 16:44:44 -08:00
windows_tests feat(proxy): supervise the opt-in Rust forwarding server (#49606) 2026-11-11 19:40:00 +00:00
__init__.py
_fake_openai_endpoint_server.py
_flush_vcr_cache.py
_live_test_helpers.py
_master_key.py
_openai_record_replay_proxy.py
_process_helpers.py
_vcr_conftest_common.py ci: remove CircleCI (#50950) 2026-11-11 15:38:27 -08:00
_vcr_redis_persister.py
_wait_helpers.py
_ws_vcr.py
AGENTS.md
capturing_transport.py
eval_swe_bench.py
fake_openai_endpoint.py
gettysburg.wav
large_text.py
openai_batch_completions.jsonl
pyrightconfig.json
README.MD
test_logging.conf
test_rust_python_harness.py
VCR_TESTING.md
white_100x100.png

In total litellm runs 1000+ tests

[02/20/2025] Update:

To make it easier to contribute and map what behavior is tested,

we've started mapping the litellm directory in tests/unit

This folder can only run mock tests.