litellm/tests/test_litellm
Tin Chi Lo bce2c79c8b
Some checks failed
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
fix(admin-mcp): pin merged connector, accept on/off flag spellings; merge main
Re-pin litellm-admin-mcp to BerriAI/liteadmin-mcp d35ec9c, the merge of
#3 that returns 403 for userless keys. LITELLM_ENABLE_ADMIN_MCP=off or no
previously aborted proxy startup; on/off and yes/no now parse, and typos
still fail startup.

Merge origin/main. tests/test_litellm_rust/test_traces.py takes main's
version, which #43942 rewrote alongside the trace runtime it covers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 23:23:41 -07:00
..
integrations/clickhouse feat(lens): analyze agent activity with a separate worker (#43889) 2026-09-30 22:42:09 +00:00
proxy fix(admin-mcp): pin merged connector, accept on/off flag spellings; merge main 2026-09-30 23:23:41 -07:00
tracing feat(tracing): store spend in ClickHouse automatically (#43928) 2026-09-30 22:17:43 +00:00
__init__.py
conftest.py test: move tests/test_litellm core utils, routing, responses, caching and rust_bridge into tests/unit (#43199) 2026-09-25 17:10:13 -07:00
readme.md
test_check_unbounded_in_lists.py ci: fail on new unbounded SQL IN lists and add a Prisma chunking helper (#42629) 2026-09-26 13:40:44 -07:00
test_conftest.py

Testing for litellm/

This directory 1:1 maps the the litellm/ directory, and can only contain mocked tests.

The point of this is to:

  1. Increase test coverage of litellm/
  2. Make it easy for contributors to add tests for the litellm/ package and easily run tests without needing LLM API keys.

File name conventions

  • litellm/proxy/test_caching_routes.py maps to litellm/proxy/caching_routes.py
  • test_<filename>.py maps to litellm/<filename>.py