Compare commits

...

2 Commits

Author SHA1 Message Date
Сергей Ванюшкин 5c8c3f16ae Merge branch 'develop' 2024-02-05 20:31:24 +03:00
Сергей Ванюшкин c6e8e78c95 fix 2024-02-05 20:30:02 +03:00
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ async def get_test_session() -> AsyncGenerator[AsyncSession, None]:
@pytest_asyncio.fixture(scope='session')
async def client() -> AsyncGenerator[AsyncClient, None]:
async def client(event_loop) -> AsyncGenerator[AsyncClient, None]:
app: FastAPI = create_app()
app.dependency_overrides[get_async_session] = get_test_session