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 892cc78 commit cc35069Copy full SHA for cc35069
services/web/server/tests/unit/with_dbs/03/users/conftest.py
@@ -3,7 +3,6 @@
3
# pylint: disable=unused-variable
4
# pylint: disable=too-many-arguments
5
6
-import asyncio
7
from collections.abc import AsyncGenerator, AsyncIterable, Callable
8
from typing import Any
9
@@ -36,9 +35,7 @@ async def web_server(
36
35
setup_settings(app)
37
setup_db(app)
38
39
- return asyncio.get_running_loop().run_until_complete(
40
- aiohttp_server(app, port=webserver_test_server_port)
41
- )
+ return await aiohttp_server(app, port=webserver_test_server_port)
42
43
44
@pytest.fixture
0 commit comments