mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(test) add new key gen tests
This commit is contained in:
parent
d59ac23e82
commit
5b201bbb4d
1 changed files with 9 additions and 0 deletions
9
litellm/tests/test_key_generate_dynamodb.py
Normal file
9
litellm/tests/test_key_generate_dynamodb.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Test the following scenarios:
|
||||
# 1. Generate a Key, and use it to make a call
|
||||
# 2. Make a call with invalid key, expect it to fail
|
||||
# 3. Make a call to a key with invalid model - expect to fail
|
||||
# 4. Make a call to a key with valid model - expect to pass
|
||||
# 5. Make a call with expired key - expect to fail
|
||||
# 6. Make a call with unexpired key - expect to pass
|
||||
# 7. Make a call with key under budget, expect to pass
|
||||
# 8. Make a call with key over budget, expect to fail
|
Loading…
Add table
Add a link
Reference in a new issue