(test) assert correct exceptions

This commit is contained in:
ishaan-jaff
2024-01-16 20:01:04 -08:00
parent 4df3bfac12
commit 39d5af5c85
+2 -1
View File
@@ -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