We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c6dcb9 commit 6a92731Copy full SHA for 6a92731
tests/conftest.py
@@ -12,7 +12,7 @@
12
13
14
@pytest_asyncio.fixture
15
-async def db_session_test() -> AsyncGenerator[AsyncSession]:
+async def db_session_test() -> AsyncGenerator[AsyncSession, None]:
16
"""The session that is used inside the test"""
17
async with rollback_session(connection) as session:
18
yield session
0 commit comments