test: testing fixes

This commit is contained in:
Krrish Dholakia 2024-02-01 21:20:46 -08:00
parent a301d8aa4b
commit bbb5bd19e8
2 changed files with 12 additions and 3 deletions

View file

@ -1266,9 +1266,7 @@ async def test_user_api_key_auth(prisma_client):
pytest.fail(f"This should have failed!. IT's an invalid key")
except ProxyException as exc:
print(exc.message)
assert (
exc.message == "Authentication Error, No API Key passed in. api_key is None"
)
assert exc.message == "Authentication Error, No api key passed in."
# Test case: Malformed API Key (missing 'Bearer ' prefix)
try: