test expired key raises correct exception
This commit is contained in:
parent
57ced1d25e
commit
7918f41aca
@ -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…
Reference in New Issue
Block a user