mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
test(test_key_generate_prisma.py): fix assert test
This commit is contained in:
parent
245ec2430e
commit
c25c48e828
1 changed files with 1 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue