fix build

This commit is contained in:
grillazz 2022-02-17 19:48:49 +01:00
parent 130a0d7f54
commit f9cc57bfea

View File

@ -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,