litellm/tests/test_litellm
Krish Dholakia 550feffeb9
Merge pull request #14512 from timelfrink/fix/lm-studio-bearer-header-14502
fix(lm_studio): resolve illegal Bearer header value issue
2025-09-13 09:40:30 -07:00
..
caching verify expires field prior to serving cache entry 2025-08-25 10:42:12 +02:00
completion_extras/litellm_responses_transformation Revert "Merge pull request #12865 from aholmberg/holmberg/default-reasoning" 2025-08-30 13:07:33 -07:00
enterprise/enterprise_callbacks
experimental_mcp_client [Fixes] Bug fixes to using LiteLLM MCP Gateway (#14392) 2025-09-10 19:12:11 -07:00
google_genai
integrations fix mocked CZ tests 2025-09-06 14:33:02 -07:00
litellm_core_utils propagate execution context into logging tasks 2025-09-11 15:54:40 +01:00
llms Merge pull request #14512 from timelfrink/fix/lm-studio-bearer-header-14502 2025-09-13 09:40:30 -07:00
passthrough [Bug Fix] Azure Passthrough request with streaming (#13831) 2025-08-25 14:11:17 -07:00
proxy Merge pull request #14477 from BerriAI/litellm_dev_09_11_2025_p2 2025-09-12 19:51:44 -07:00
responses Move test to test_litellm/ folder 2025-09-05 10:40:26 +05:30
router_strategy [Bug Fix] x-litellm-tags not routing with Responses API (#14289) 2025-09-05 09:40:37 -07:00
router_utils test 2025-09-06 16:38:43 -07:00
secret_managers
types
vector_stores
__init__.py
conftest.py [Feat] Add support for returning images with gemini/gemini-2.5-flash-image-preview with /chat/completions (#13983) 2025-08-27 16:16:19 -07:00
log.txt
readme.md
test_constants.py
test_cost_calculation_log_level.py
test_cost_calculator.py
test_groq_streaming_encoding.py [Bug] Fix: Vertex Mistral not working for streaming (#13952) 2025-08-25 17:39:40 -07:00
test_logging.py
test_lowest_latency_zero_tokens.py
test_main.py fix: test error 2025-08-26 01:58:04 +08:00
test_router.py
test_system_message_format_bug.py
test_utils.py fix tiered_pricing test 2025-09-11 19:56: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