mirror of
https://github.com/home-assistant/core.git
synced 2025-11-15 22:10:09 +00:00
Bump to aiohttp 3.8.0 (#58974)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user