(test) assert correct exceptions
This commit is contained in:
parent
4df3bfac12
commit
39d5af5c85
@ -97,7 +97,8 @@ def test_call_with_invalid_key():
|
||||
asyncio.run(test())
|
||||
except Exception as e:
|
||||
print("Got Exception", e)
|
||||
print(str(e))
|
||||
print(e.detail)
|
||||
assert "Authentication Error" in e.detail
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user