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. |
||
|---|---|---|
| .. | ||
| auth | ||
| guardrails | ||
| hooks | ||
| management_endpoints | ||
| __init__.py | ||
| test_afile_retrieve_returns_unified_id.py | ||
| test_audit_logging_endpoints.py | ||
| test_batch_retrieve_input_file_id.py | ||
| test_batch_retrieve_registers_missing_output_file_id.py | ||
| test_batch_retrieve_returns_unified_input_file_id.py | ||
| test_batch_update_db_managed_output_file_id.py | ||
| test_deleted_file_returns_403_not_404.py | ||
| test_enterprise_routes.py | ||
| test_file_deletion_blocking.py | ||
| test_liteadmin.py | ||
| test_managed_files_access_check.py | ||
| test_managed_files_hook.py | ||