Bump to aiohttp 3.8.0 (#58974)

This commit is contained in:
J. Nick Koston
2021-11-04 10:07:50 -05:00
committed by GitHub
parent 23cb396aad
commit 10d6247fee
106 changed files with 221 additions and 142 deletions

View File

@@ -369,7 +369,7 @@ async def test_subscribe_unsubscribe_events(hass, websocket_client):
hass.bus.async_fire("test_event", {"hello": "world"})
hass.bus.async_fire("ignore_event")
with timeout(3):
async with timeout(3):
msg = await websocket_client.receive_json()
assert msg["id"] == 5
@@ -566,7 +566,7 @@ async def test_subscribe_unsubscribe_events_whitelist(
hass.bus.async_fire("themes_updated")
with timeout(3):
async with timeout(3):
msg = await websocket_client.receive_json()
assert msg["id"] == 6
@@ -1051,7 +1051,7 @@ async def test_subscribe_trigger(hass, websocket_client):
hass.bus.async_fire("test_event", {"hello": "world"}, context=context)
hass.bus.async_fire("ignore_event")
with timeout(3):
async with timeout(3):
msg = await websocket_client.receive_json()
assert msg["id"] == 5