From 9b1a2a6ec54cc743ad6f7d74bd006dc3d91f5246 Mon Sep 17 00:00:00 2001 From: Dmitry Paramonov Date: Fri, 27 Dec 2024 07:50:41 +0300 Subject: [PATCH] fix: Await create pool --- agents-api/tests/fixtures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents-api/tests/fixtures.py b/agents-api/tests/fixtures.py index 7048c463d..14daea854 100644 --- a/agents-api/tests/fixtures.py +++ b/agents-api/tests/fixtures.py @@ -224,7 +224,7 @@ async def test_user_doc( developer_id=test_developer_id, user=test_user, ): - pool = create_db_pool(dsn=dsn) + pool = await create_db_pool(dsn=dsn) doc = await create_doc( developer_id=developer_id, owner_type="user",