mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
(ci/cd) run prisma.connect() before test
This commit is contained in:
parent
5bd10e303a
commit
bb7c0ec0ed
1 changed files with 1 additions and 0 deletions
|
@ -659,6 +659,7 @@ def test_key_generate_with_custom_auth(prisma_client):
|
|||
async def test():
|
||||
await litellm.proxy.proxy_server.prisma_client.connect()
|
||||
try:
|
||||
await litellm.proxy.proxy_server.prisma_client.connect()
|
||||
request = GenerateKeyRequest()
|
||||
key = await generate_key_fn(request)
|
||||
pytest.fail(f"Expected an exception. Got {key}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue