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_base_update_queue.py | ||
| test_daily_spend_update_queue.py | ||
| test_pod_lock_manager.py | ||
| test_redis_update_buffer.py | ||
| test_spend_logs_partition_manager.py | ||
| test_spend_update_queue.py | ||
| test_tool_discovery_queue.py | ||
| test_window_spend_update_queue.py | ||