mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-10 13:03:30 +00:00
f434cdbdce
The old conftest never flushed HTTP client cache. Adding flush_cache() before every test forces new TCP connections to external APIs, causing transient connection failures under xdist parallelism. Global state isolation is already handled by _SCALAR_DEFAULTS reset. 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.