Skip to content

Commit d96d754

Browse files
Update tests/test_client_ws_functional.py
1 parent 039ca9d commit d96d754

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_client_ws_functional.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ async def handler(request):
243243
app = web.Application()
244244
app.router.add_route("GET", "/", handler)
245245

246-
client = aiohttp_client(app)
246+
client = await aiohttp_client(app)
247247
async with client.ws_connect("/") as resp:
248248
# wait for the message in a separate task
249249
task = asyncio.create_task(resp.receive())

0 commit comments

Comments
 (0)