litellm/tests/test_litellm/proxy/db/db_transaction_queue
yuneng-jiang 9d9a59190c Use passed general_settings parameter instead of global import
The validation method now reads use_redis_transaction_buffer directly
from the passed general_settings dict rather than delegating to
RedisUpdateBuffer._should_commit_spend_updates_to_redis() which
imports the global. Tests simplified to remove unnecessary patching.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 21:30:52 -08:00
..
test_base_update_queue.py adjust default aggregation threshold 2026-02-23 16:20:15 -08:00
test_daily_spend_update_queue.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_pod_lock_manager.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_redis_update_buffer.py Use passed general_settings parameter instead of global import 2026-03-06 21:30:52 -08:00
test_spend_update_queue.py fix(proxy): avoid in-place mutation in SpendUpdateQueue aggregation (#20876) 2026-02-10 22:36:03 -08:00
test_tool_discovery_queue.py feat(proxy): tool policies - auto-discover tools + policy enforcement guardrail (#22041) 2026-02-24 16:27:06 -08:00