diff --git a/tests/conftest.py b/tests/conftest.py index 30f1296..f5d3c60 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -46,7 +46,7 @@ async def get_test_session() -> AsyncGenerator[AsyncSession, None]: @pytest_asyncio.fixture(scope='session') -async def client() -> AsyncGenerator[AsyncClient, None]: +async def client(event_loop) -> AsyncGenerator[AsyncClient, None]: app: FastAPI = create_app() app.dependency_overrides[get_async_session] = get_test_session