mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
Fourteen tests carried an unconditional skip and could never run. The unit conftest deletes DATABASE_URL and REDIS_* before every test, so the prisma and Redis ones would fail in tests/unit even without the marker. Each behavior they claimed is already covered by mocked unit tests or by the integration suite against real Postgres and Redis, and the gpt-4o token counter test patched a function removed in #10409. The Redis buffer drain test was the one with unique value, so it is rewritten in test_redis_update_buffer.py against the fakeredis-backed RedisCache fixture. It fills every queue a spend flush writes, drains the buffer, and asserts no Redis key is left behind. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_internal_user_endpoints.py | ||
| test_project_endpoints_prisma.py | ||