litellm-mirror/tests/litellm
Krish Dholakia d3baaf7961
Merge pull request #9467 from BerriAI/litellm_dev_03_22_2025_p1
Refactor vertex ai passthrough routes - fixes unpredictable behaviour w/ auto-setting default_vertex_region on router model add
2025-03-22 14:11:57 -07:00
..
caching test: add unit testing 2025-03-21 15:01:19 -07:00
experimental_mcp_client test_tools.py 2025-03-21 18:38:24 -07:00
integrations TestCustomPromptManagement 2025-03-19 17:40:15 -07:00
litellm_core_utils test_is_chunk_non_empty_with_annotations 2025-03-22 11:41:53 -07:00
llms test: migrate testing 2025-03-22 12:48:53 -07:00
proxy test: migrate testing 2025-03-22 12:48:53 -07:00
rerank_api build: merge squashed commit 2025-02-26 09:39:27 -08:00
responses TestResponseAPILoggingUtils 2025-03-12 12:45:03 -07:00
router_strategy refactor(base_routing_strategy.py): fix function names 2025-03-18 22:41:02 -07:00
log.txt Support format param for specifying image type (#9019) 2025-03-05 19:52:53 -08:00
readme.md (UI + Proxy) Cache Health Check Page - Cleanup/Improvements (#8665) 2025-02-19 19:08:50 -08:00
test_cost_calculator.py feat(cost_calculator.py): support reading litellm response cost header in client sdk 2025-03-17 15:12:01 -07:00
test_main.py Support format param for specifying image type (#9019) 2025-03-05 19:52:53 -08: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