litellm/tests/unit/proxy/db/db_transaction_queue
Srivatsa03 da179eb2f2 test(budgets): cover per-team token budget aggregation and enforcement
- token aggregation: per-team token sums in team_token_list_transactions,
  spend sums unchanged, non-team updates create no token entries
- enforcement: untracked teams skipped, under-budget passes, over-budget
  raises BudgetExceededError, cold counter falls back to tokens_used,
  strictly greater-than at the cap (matching the dollar budget check)
2026-10-11 15:45:20 -05:00
..
__init__.py ci: move tests/proxy_unit_tests to tests/unit/proxy and run the proxy-db shards from litellm-tests (#42903) 2026-09-24 22:59:11 +00:00
test_base_update_queue.py test(proxy): move proxy_server, _experimental and db tests into tests/unit/proxy (#44012) 2026-10-01 18:14:24 +00:00
test_daily_spend_update_queue.py refactor: expose core private helpers under public names (#44871) 2026-10-07 00:05:27 +00:00
test_e2e_pod_lock_manager.py fix(security): remove the publicly known master key from the repo (#44718) 2026-10-06 10:55:24 -07:00
test_pod_lock_manager.py test(proxy): move proxy_server, _experimental and db tests into tests/unit/proxy (#44012) 2026-10-01 18:14:24 +00:00
test_redis_update_buffer.py refactor(proxy): expose public names for private proxy helpers (#45170) 2026-10-07 18:59:27 -07:00
test_spend_logs_partition_manager.py fix(otel): name postgres service spans by operation and table (#44240) 2026-10-03 09:20:28 -07:00
test_spend_update_queue.py test(budgets): cover per-team token budget aggregation and enforcement 2026-10-11 15:45:20 -05:00
test_tool_discovery_queue.py test(proxy): move proxy_server, _experimental and db tests into tests/unit/proxy (#44012) 2026-10-01 18:14:24 +00:00
test_window_spend_update_queue.py test(proxy): move proxy_server, _experimental and db tests into tests/unit/proxy (#44012) 2026-10-01 18:14:24 +00:00