Skip to content

Commit ee5b077

Browse files
committed
Fix aiohttp tests
1 parent 8bacf9a commit ee5b077

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/aiohttp/test_graphiqlview.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import pytest
2+
import pytest_asyncio
23
from aiohttp.test_utils import TestClient, TestServer
34
from jinja2 import Environment
45

@@ -12,7 +13,7 @@ def app():
1213
return app
1314

1415

15-
@pytest.fixture
16+
@pytest_asyncio.fixture
1617
async def client(app):
1718
client = TestClient(TestServer(app))
1819
await client.start_server()

tests/aiohttp/test_graphqlview.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from urllib.parse import urlencode
33

44
import pytest
5+
import pytest_asyncio
56
from aiohttp import FormData
67
from aiohttp.test_utils import TestClient, TestServer
78

@@ -15,7 +16,7 @@ def app():
1516
return app
1617

1718

18-
@pytest.fixture
19+
@pytest_asyncio.fixture
1920
async def client(app):
2021
client = TestClient(TestServer(app))
2122
await client.start_server()

0 commit comments

Comments
 (0)