We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5080eda commit 2373ea2Copy full SHA for 2373ea2
1 file changed
tests/conftest.py
@@ -80,14 +80,13 @@ async def db_session():
80
81
82
@pytest.fixture(scope="function")
83
-async def client(db_session) -> AsyncGenerator[AsyncClient, Any]: # noqa: ARG001
+async def client(db_session) -> AsyncGenerator[AsyncClient, Any]:
84
transport = ASGITransport(
85
app=app,
86
)
87
88
async def override_get_db():
89
yield db_session
90
- await db_session.commit()
91
92
async with AsyncClient(
93
base_url="http://testserver/v1",
0 commit comments