litellm/tests/test_litellm
Vrajesh Sulakhe f5bc46e08e fix(websearch): preserve Anthropic domain filters
Keep allowed and blocked domains through tool conversion and search execution, then filter results before building text and citations

Fixes #44188
2026-10-03 07:03:01 +05:30
..
integrations/clickhouse refactor(proxy): inject tracing receiver and access context (#44035) 2026-10-01 13:45:32 -07:00
tracing feat(traces): type queries and align read access with log visibility (#44228) 2026-10-02 21:55:42 +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 test(proxy): move management_endpoints, management_helpers and guardrails tests into tests/unit/proxy (#44003) 2026-10-01 10:52:03 -07:00
test_websearch_interception_domains_44188.py fix(websearch): preserve Anthropic domain filters 2026-10-03 07:03:01 +05:30

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