mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-08-26 16:40:40 +03:00
fix build
This commit is contained in:
parent
130a0d7f54
commit
f9cc57bfea
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user