Fix LD sig tests
This commit is contained in:
parent
9c325674c6
commit
1c9b73b170
3 changed files with 17 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
from typing import Generator
|
||||
|
||||
import pytest
|
||||
import pytest_asyncio
|
||||
from fastapi.testclient import TestClient
|
||||
|
||||
from app.database import Base
|
||||
|
@ -11,7 +12,7 @@ from app.main import app
|
|||
from tests.factories import _Session
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@pytest_asyncio.fixture
|
||||
async def async_db_session():
|
||||
async with async_session() as session:
|
||||
async with async_engine.begin() as conn:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue