File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
import pytest
2
+ import pytest_asyncio
2
3
from aiohttp .test_utils import TestClient , TestServer
3
4
from jinja2 import Environment
4
5
@@ -12,7 +13,7 @@ def app():
12
13
return app
13
14
14
15
15
- @pytest .fixture
16
+ @pytest_asyncio .fixture
16
17
async def client (app ):
17
18
client = TestClient (TestServer (app ))
18
19
await client .start_server ()
Original file line number Diff line number Diff line change 2
2
from urllib .parse import urlencode
3
3
4
4
import pytest
5
+ import pytest_asyncio
5
6
from aiohttp import FormData
6
7
from aiohttp .test_utils import TestClient , TestServer
7
8
@@ -15,7 +16,7 @@ def app():
15
16
return app
16
17
17
18
18
- @pytest .fixture
19
+ @pytest_asyncio .fixture
19
20
async def client (app ):
20
21
client = TestClient (TestServer (app ))
21
22
await client .start_server ()
You can’t perform that action at this time.
0 commit comments