Skip to content

Commit ee49681

Browse files
committed
maybe fix
1 parent 29626fb commit ee49681

File tree

1 file changed

+1
-4
lines changed
  • services/web/server/tests/unit/with_dbs/03/users

1 file changed

+1
-4
lines changed

services/web/server/tests/unit/with_dbs/03/users/conftest.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# pylint: disable=unused-variable
44
# pylint: disable=too-many-arguments
55

6-
import asyncio
76
from collections.abc import AsyncGenerator, AsyncIterable, Callable
87
from typing import Any
98

@@ -36,9 +35,7 @@ async def web_server(
3635
setup_settings(app)
3736
setup_db(app)
3837

39-
return asyncio.get_running_loop().run_until_complete(
40-
aiohttp_server(app, port=webserver_test_server_port)
41-
)
38+
return await aiohttp_server(app, port=webserver_test_server_port)
4239

4340

4441
@pytest.fixture

0 commit comments

Comments
 (0)