mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-17 02:23:32 +00:00
The test was failing because it was trying to patch MAX_LANGFUSE_INITIALIZED_CLIENTS at the wrong path. The constant is imported from litellm.constants into the langfuse module namespace, so we need to use patch.object on the imported module reference. Changes: - Import langfuse module explicitly for patching - Use patch.object instead of patch string path - This fixes the AttributeError that was causing CI failures
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/litellm
This folder can only run mock tests.