mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-12 21:04:10 +00:00
87feca0b4a
* fix(test): remove deprecated Click mix_stderr param in test_use_prisma_db_push_flag_behavior Click 8.2+ removed the mix_stderr parameter from CliRunner. Use CliRunner() without it. * fix(test): use app.dependency_overrides for auth mock in test_role_mappings_stored_and_retrieved monkeypatch.setattr doesn't affect FastAPI's Depends() resolution in parallel test execution. Use app.dependency_overrides which is the proper FastAPI pattern.
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.