mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
fix test_generate_and_update_key
This commit is contained in:
parent
d2f087c93e
commit
da3ddd2282
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 >= 28
|
||||
assert 31 >= (budget_reset_at - current_time).days >= 27
|
||||
|
||||
# cleanup - delete key
|
||||
delete_key_request = KeyRequest(keys=[generated_key])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue