litellm/tests
yuneng-jiang f0e25ecca2
build(deps): remove beautifulsoup4 and the unrun Bedrock pricing scraper (#54903)
tests/code_coverage_tests/bedrock_pricing.py was the only user of
beautifulsoup4, and beautifulsoup4 was the only package pulling in
soupsieve. No CI job has run the script since it was commented out of
CircleCI on 2025-07-30, and it no longer works against the AWS Bedrock
pricing page, which now lists prices per 1M tokens while the script
still divides by 1000. Its first Meta row fails with a false mismatch,
and ai21, amazon, anthropic and cohere parse to nothing.

Dropping it removes beautifulsoup4 from the ci group, the two soupsieve
constraint lines, the soupsieve 2.10 and 4.1 lock entries, and the three
soupsieve osv-scanner ignores that existed only because the fixed
releases need Python 3.11.5 or newer.
2026-11-27 11:36:13 -08:00
..
_support fix(gemini): return an error instead of an empty 200 when a Gemini image request gets no image (#29125) 2026-11-25 20:55:23 +00:00
audio_tests
base_sdk_tests fix(packaging): ship the license public key in the litellm-proxy sdist (#52970) 2026-11-19 23:18:32 +00:00
basic_proxy_startup_tests
benchmarks fix(guardrails): classify only the frames each read completes in Presidio's first-frame wait (#54379) 2026-11-25 11:15:49 +00:00
code_coverage_tests build(deps): remove beautifulsoup4 and the unrun Bedrock pricing scraper (#54903) 2026-11-27 11:36:13 -08:00
documentation_tests fix(langfuse): upload base64 media and export its reference from the langfuse callback (#53934) 2026-11-27 11:29:16 -08:00
e2e feat(ui): keep cost optimization tabs and filters in the URL (#41463) 2026-11-27 10:34:43 -08:00
e2e_harness test(e2e): move the Claude Code matrix to Opus, Sonnet and Haiku 5.5, Fable 5.2 and GPT-6 (#54305) 2026-11-25 01:47:03 +00:00
fixtures
harness_e2e
integration fix(langfuse): upload base64 media and export its reference from the langfuse callback (#53934) 2026-11-27 11:29:16 -08:00
rust-python-harness fix(gateway): serve messages drop, summary and timeout settings like Python (#51236) 2026-11-25 09:26:12 +00:00
test_litellm_rust fix(anthropic): keep caller tool_use ids unless the upstream rejects them (#54468) 2026-11-26 05:55:01 +00:00
typing
unit fix(langfuse): upload base64 media and export its reference from the langfuse callback (#53934) 2026-11-27 11:29:16 -08:00
windows_tests
__init__.py
_fake_openai_endpoint_server.py
_flush_vcr_cache.py
_live_test_helpers.py
_master_key.py
_module_state.py
_openai_record_replay_proxy.py
_process_helpers.py
_vcr_conftest_common.py
_vcr_redis_persister.py
_wait_helpers.py
_ws_vcr.py
AGENTS.md
capturing_transport.py
eval_swe_bench.py
fake_openai_endpoint.py
gettysburg.wav
large_text.py
openai_batch_completions.jsonl
pyrightconfig.json
README.MD
test_logging.conf
test_rust_python_harness.py
VCR_TESTING.md
white_100x100.png

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/unit

This folder can only run mock tests.