litellm/tests/test_litellm
Krish Dholakia a61275f6e2
Merge pull request #13796 from 0x-fang/fix_aip_pass_through_08_20
Fix(Bedrock): fix application inference profile for pass-through endpoints for bedrock
2025-08-21 19:41:23 -07:00
..
caching use namespace as prefix in s3 2025-08-18 13:43:51 +02:00
completion_extras/litellm_responses_transformation
enterprise/enterprise_callbacks [Feat] Backend - Add support for disabling callbacks in request body (#12762) 2025-07-19 10:10:30 -07:00
experimental_mcp_client
google_genai [Bug Fix] Gemini-CLI - The Gemini Custom API request has an incorrect authorization format (#13098) 2025-07-29 13:46:43 -07:00
integrations comment 2025-08-20 15:46:53 +09:00
litellm_core_utils Revert "Revert "Fix - add safe divide by 0 for most places to prevent crash"" 2025-08-14 14:23:06 -07:00
llms Merge pull request #13783 from philipkiely-baseten/main 2025-08-21 18:34:36 -07:00
passthrough fix application inference profile for pass-through endpoints for bedrock 2025-08-20 00:40:43 -07:00
proxy Merge pull request #13796 from 0x-fang/fix_aip_pass_through_08_20 2025-08-21 19:41:23 -07:00
responses [Bug Fix] Using stream=True + background=True with Responses API (#13654) 2025-08-15 08:58:28 -07:00
router_strategy fix mapped test 2025-07-25 07:24:42 -07:00
router_utils Merge pull request #13529 from BerriAI/litellm_dev_08_11_2025_p1 2025-08-18 18:54:19 -07:00
secret_managers Added handling for pwd protected cert files in AOAI CertificateCredential auth (#12995) 2025-07-28 21:34:54 -07:00
types [LLM Translation] Fix Model Usage not having text tokens (#13234) 2025-08-04 21:06:49 +05:30
vector_stores [Bug Fix] Bedrock KB - Using LiteLLM Managed Credentials for Query (#13787) 2025-08-19 15:39:36 -07:00
__init__.py
conftest.py
log.txt
readme.md
test_constants.py
test_cost_calculation_log_level.py Enhance logging in cost calculation tests to ensure DEBUG level captures are accurate. Updated tests to set logger level before assertions and restored original logger level after execution. This improves reliability of log level checks in both cost and batch cost calculation tests. 2025-08-14 14:21:22 -07:00
test_cost_calculator.py Update test_cost_calculator.py 2025-08-19 23:14:22 +05:30
test_groq_streaming_encoding.py Fix Groq streaming ASCII encoding issue 2025-08-16 08:32:22 -05:00
test_logging.py
test_lowest_latency_zero_tokens.py fix(lowest_latency.py): Handle ZeroDivisionError with zero completion tokens (#12734) 2025-07-18 15:19:47 -07:00
test_main.py Fix async retryer on .acompletion() + forward clientside headers - filter out content-type from clientside request (causes llm api call to hang) (#12886) 2025-07-22 19:50:05 -07:00
test_router.py test: cleanup old tests 2025-08-18 22:58:29 -07:00
test_utils.py Merge pull request #13759 from kankute-sameer/litellm_feat_correct_cost_calculations 2025-08-19 22:30:25 -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