litellm/tests
user 5bafa8b3a2
Drop dep bumps + black-26 reformat to clear fork CI policy
PR was blocked by .github/workflows/guard-fork-dependencies.yml: fork PRs
cannot modify uv.lock. Reverting:

- uv.lock + pyproject.toml black bump (24.10.0 -> 26.3.1) and the 295
  files of mechanical Black 26 reformat coupled to it
- pyproject.toml diskcache extra change (kept the runtime mitigation in
  litellm/caching/disk_cache.py via JSONDisk)

Kept:
- Dockerfile cache narrowing (drops ~660 MB of uv build cache that
  surfaced cached setuptools as CVE findings)
- litellm/caching/disk_cache.py: dc.JSONDisk to neutralize CVE-2025-69872
- ui/litellm-dashboard/package-lock.json + litellm-js/spend-logs/package-lock.json:
  next/postcss/hono/uuid CVE bumps (these are not blocked by the fork guard)
- tests/test_litellm/caching/test_disk_cache.py
- tests/code_coverage_tests/liccheck.ini: harmless black authorization

Black + gitpython + langchain dep upgrades will need a follow-up from a
maintainer pushing a branch in the canonical BerriAI/litellm repo.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-07 23:04:52 +00:00
..
agent_tests
audio_tests [Test] Tests: Stop parametrizing API keys into pytest test IDs (#27249) 2026-05-05 17:21:18 -07:00
basic_proxy_startup_tests
batches_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
benchmarks Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
code_coverage_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
documentation_tests
enterprise Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
guardrails_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
image_gen_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
litellm Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
litellm_core_utils Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
litellm_utils_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
litellm-proxy-extras
llm_responses_api_testing Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
llm_translation Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
load_tests
local_testing Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
logging_callback_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
mcp_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
multi_instance_e2e_tests
ocr_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
old_proxy_tests/tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
openai_endpoints_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
otel_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
pass_through_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
pass_through_unit_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
proxy_admin_ui_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
proxy_e2e_anthropic_messages_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
proxy_security_tests
proxy_unit_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
router_unit_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
scim_tests
search_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
spend_tracking_tests
store_model_in_db_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
test_litellm Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
unified_google_tests test: add 24hr Redis-backed VCR cache to additional test suites (#27159) 2026-05-05 15:13:31 -07:00
vector_store_tests Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
windows_tests
__init__.py
_flush_vcr_cache.py tests(vcr): isolate cassette redis to CASSETTE_REDIS_URL 2026-05-01 12:32:59 -07:00
_vcr_conftest_common.py [Fix] Tests: Reduce VCR cassette bloat and fix multipart caching 2026-05-07 11:54:19 -07:00
_vcr_redis_persister.py test: add 24hr Redis-backed VCR cache to additional test suites (#27159) 2026-05-05 15:13:31 -07:00
eval_swe_bench.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
test_end_users.py
test_entrypoint.py
test_fallbacks.py
test_gpt5_azure_temperature_support.py
test_health.py
test_keys.py
test_litellm_proxy_responses_config.py
test_logging.conf
test_models.py
test_new_vector_store_endpoints.py
test_openai_endpoints.py
test_organizations.py
test_otel_thread_leak.py
test_passthrough_endpoints.py Drop dep bumps + black-26 reformat to clear fork CI policy 2026-05-07 23:04:52 +00:00
test_presidio_latency.py
test_proxy_server_non_root.py
test_ratelimit.py
test_resource_cleanup.py
test_service_logger_otel.py
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.