mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
days >= 28
This commit is contained in:
parent
7343f16c42
commit
6c4148bfa8
1 changed files with 1 additions and 1 deletions
|
|
@ -1352,7 +1352,7 @@ def test_generate_and_update_key(prisma_client):
|
|||
current_time = datetime.now(timezone.utc)
|
||||
|
||||
# assert budget_reset_at is 30 days from now
|
||||
assert 31 >= (budget_reset_at - current_time).days >= 29
|
||||
assert 31 >= (budget_reset_at - current_time).days >= 28
|
||||
|
||||
# cleanup - delete key
|
||||
delete_key_request = KeyRequest(keys=[generated_key])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue