litellm/tests/unit/repositories
Kerry Lu 78d617ee80
fix(reset-budget): skip a scheduled reset when the budget changed after it was read (#56059)
* fix(reset-budget): skip a scheduled reset when the budget changed after it was read

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* docs(reset-budget): note why the max_budget guard keeps the null-safe compare

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-12-03 19:36:04 +00:00
..
__init__.py test: add __init__.py to new tests/unit packages 2026-09-20 12:36:13 +00:00
test_alert_repository.py feat(alerts): display prompt cache advisories in existing alerts (#51943) 2026-11-16 14:49:52 -08:00
test_chunked_in.py ci: fail on new unbounded SQL IN lists and add a Prisma chunking helper (#42629) 2026-09-26 13:40:44 -07:00
test_daily_activity_repository.py feat(usage-export): include key and user metadata objects in daily activity export rows (#49360) 2026-11-20 03:58:01 +00:00
test_daily_activity_sql.py feat(usage-export): include key and user metadata objects in daily activity export rows (#49360) 2026-11-20 03:58:01 +00:00
test_database.py feat(auth): read virtual keys, jwt key mappings and model access groups through rust repositories (#52173) 2026-11-18 03:53:37 +00:00
test_gateway_activity_repository.py refactor(proxy): inject gateway activity through a typed repository (#49116) 2026-10-30 16:25:11 -07:00
test_performance_alert_repository.py feat(alerts): display prompt cache advisories in existing alerts (#51943) 2026-11-16 14:49:52 -08:00
test_plugin_publication.py feat(skills): add sortable Skills Hub catalog and publication audit (#50195) 2026-11-06 00:57:33 +00:00
test_plugin_upload_repository.py feat(skills): show download counts and downloader history (#50165) 2026-11-05 05:25:08 -08:00
test_repositories.py feat(spend-logs): rust spend log ledger writer (#52163) 2026-11-20 16:31:04 -08:00
test_rust_database.py refactor(rust): rename the compiled module _native to _rust (#55198) 2026-12-01 07:08:38 -08:00
test_skill_submission_repository.py feat(skills): add sortable Skills Hub catalog and publication audit (#50195) 2026-11-06 00:57:33 +00:00
test_spend_log_insert.py feat(accounting): add opt-in SpendLogs ledger (#49856) 2026-11-04 17:49:15 -08:00
test_unit_of_work.py fix(reset-budget): skip a scheduled reset when the budget changed after it was read (#56059) 2026-12-03 19:36:04 +00:00