Files
litellm/tests/test_litellm
Jugal D. Bhatt efd34966dc [LLM Translation] Support /v1/models/{model_id} retrieval (#13268)
* added model id endpoint

* fix test

* add route to internal users

* make the functions reusable

* fixed mypy
2025-08-04 18:03:59 -07:00
..
2025-08-04 15:59:25 -07:00
2025-07-25 07:24:42 -07:00
2025-07-04 10:04:43 -07:00
2025-07-04 10:04:43 -07:00
2025-07-16 09:15:05 -07:00
2025-08-01 09:12:44 -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