Files
litellm/tests/test_litellm
Nicholas CoutureandGitHub 8032e73872 [Fix] Ensure guardrail memory sync after database updates (#15633)
* chore: Consistency in install-test-deps using poetry run

* feat: update in-memory guardrails after database CRUD operations

* test: add parameterized tests for guardrail CRUD with memory sync
2025-10-16 21:46:49 -07:00
..
2025-10-14 16:38:04 -07:00
2025-10-06 13:53:36 -07:00
2025-10-12 21:58:06 -07:00
2025-09-06 16:38:43 -07:00
2025-09-27 14:25:05 -07:00
2025-10-11 08:33:08 -07:00
2025-10-11 08:33:08 -07:00

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