forked from phoenix/litellm-mirror
test expired key raises correct exception
This commit is contained in:
parent
57ced1d25e
commit
7918f41aca
1 changed files with 2 additions and 0 deletions
|
@ -941,6 +941,8 @@ def test_generate_and_call_with_expired_key(prisma_client):
|
|||
print("Got Exception", e)
|
||||
print(e.message)
|
||||
assert "Authentication Error" in e.message
|
||||
assert e.type == ProxyErrorTypes.expired_key
|
||||
|
||||
pass
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue