Fix LD sig tests

This commit is contained in:
Thomas Sileo 2022-07-29 09:24:51 +02:00
parent 9c325674c6
commit 1c9b73b170
3 changed files with 17 additions and 3 deletions

View file

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