From f9cc57bfea727f8719baa5c9c07a10eeb0599d72 Mon Sep 17 00:00:00 2001 From: grillazz Date: Thu, 17 Feb 2022 19:48:49 +0100 Subject: [PATCH] fix build --- tests/conftest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 36e3ede..5259e29 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,5 @@ import pytest +import pytest_asyncio from httpx import AsyncClient from the_app.main import app from the_app.models.base import Base @@ -23,7 +24,7 @@ async def start_db(): await engine.dispose() -@pytest.fixture +@pytest_asyncio.fixture async def client() -> AsyncClient: async with AsyncClient( app=app,