mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-15 20:20:28 +00:00
The test asserts that a ttl=0 cached entry expires immediately, so the second call should not return cached content. Both calls used the same mock_response text, making the content != assertion always fail. Use different mock_response values so a cache hit is distinguishable. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.