litellm/tests
moh-dev-stack 65e943dc2b
Bugfix/19481 num retries env var type (#19507)
* Enhance error handling for num_retries in Router class to support string values. Add test case to verify conversion from string to int for deployment num_retries.

* Refactor Router class for improved readability by formatting long lines and enhancing exception handling tests for num_retries. Ensure consistent style in test cases for better maintainability.

* Update exception handling for num_retries in Router class to suppress mypy warnings. Add type ignore comment for clarity in type conversion from string to int.
2026-01-22 19:39:58 -08:00
..
agent_tests
audio_tests
basic_proxy_startup_tests
batches_tests chore: remove unused test files from repository root (#19150) 2026-01-16 02:34:41 +05:30
code_coverage_tests add search provider for brave search api (#19433) 2026-01-20 19:23:29 -08:00
documentation_tests fix: test_env_keys 2026-01-20 18:37:56 +05:30
enterprise updating promethus tests 2026-01-22 11:01:01 -08:00
guardrails_tests Merge branch 'main' into litellm_staging_01_19_2026 2026-01-20 19:19:36 +05:30
image_gen_tests Fix: imagegeneration@006 has been deprecated 2026-01-22 18:24:59 +05:30
litellm [Fix] UI Cost Estimator - Fix model dropdown (#19529) 2026-01-21 20:19:40 -08:00
litellm_core_utils fix(bedrock): deduplicate tool calls in assistant history (#15178) (#19324) 2026-01-19 10:56:49 -08:00
litellm_utils_tests test: update langfuse trace_id tests to use litellm_trace_id 2026-01-22 06:19:43 +09:00
litellm-proxy-extras Revert "feat: Add Redis-based migration lock with bug fixes (#19261)" 2026-01-20 18:46:26 +05:30
llm_responses_api_testing Merge branch 'main' into litellm_fix_streaming_test 2026-01-19 19:43:16 +05:30
llm_translation Fix/nova grounding (#19598) 2026-01-22 19:34:29 -08:00
load_tests Add memory leak detection tests with CI integration (#18881) 2026-01-09 17:36:10 -08:00
local_testing Fix unsafe access to request attribute (#19573) 2026-01-22 10:58:29 -08:00
logging_callback_tests test: update langfuse trace_id tests to use litellm_trace_id 2026-01-22 06:19:43 +09:00
mcp_tests feat: Add MCP tools response to chat completions 2026-01-22 19:23:32 +05:30
multi_instance_e2e_tests
ocr_tests OCR test fixes 2026-01-11 08:00:31 -08:00
old_proxy_tests/tests
openai_endpoints_tests
otel_tests User metrics for promethus 2026-01-07 15:05:09 -08:00
pass_through_tests
pass_through_unit_tests [Feat] Add Structured output for /v1/messages with Anthropic API, Azure Anthropic API, Bedrock Converse (#19545) 2026-01-21 20:09:18 -08:00
proxy_admin_ui_tests Revert "Revert "[Feature] Deleted Keys and Deleted Teams Table"" 2026-01-16 14:25:23 -08:00
proxy_security_tests
proxy_unit_tests fix mock_handler 2026-01-20 18:01:22 -08:00
router_unit_tests Fix extract_cacheable_prefix to handle string content with message-level cache_control (fixes #19228) 2026-01-17 10:35:40 +05:30
scim_tests
search_tests skip brave tests 2026-01-22 10:50:23 -08:00
spend_tracking_tests increasing time for spend tracking 2026-01-20 16:31:25 -08:00
store_model_in_db_tests
test_litellm Bugfix/19481 num retries env var type (#19507) 2026-01-22 19:39:58 -08:00
unified_google_tests Revert "[Infra] Changing Google Tests to use Gemini 3 Flash Preview" 2026-01-20 17:32:10 -08:00
vector_store_tests
windows_tests
__init__.py
gettysburg.wav
large_text.py
openai_batch_completions.jsonl
README.MD
test_budget_management.py
test_callbacks_on_proxy.py
test_config.py
test_debug_warning.py
test_default_encoding_non_root.py fix: resolve Read-only file system error in non-root images (#19449) 2026-01-20 19:00:52 -08:00
test_end_users.py
test_entrypoint.py
test_fallbacks.py
test_gpt5_azure_temperature_support.py
test_health.py
test_keys.py Adding retries to flaky tests 2026-01-22 15:21:44 -08:00
test_litellm_proxy_responses_config.py
test_logging.conf
test_models.py
test_openai_endpoints.py
test_organizations.py Adding retries to flaky tests 2026-01-22 15:21:44 -08:00
test_passthrough_endpoints.py
test_proxy_server_non_root.py Fix non-root proxy tests 2026-01-22 11:15:18 -08:00
test_ratelimit.py
test_resource_cleanup.py
test_service_logger_otel.py fix(langfuse_otel): ignore service logs and fix callback shadowing (#19298) 2026-01-19 05:53:47 -08:00
test_spend_logs.py
test_team_logging.py
test_team_members.py
test_team.py
test_users.py

In total litellm runs 1000+ tests

[02/20/2025] Update:

To make it easier to contribute and map what behavior is tested,

we've started mapping the litellm directory in tests/test_litellm

This folder can only run mock tests.