mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 23:07:09 +00:00
parent
62a5854e40
commit
219200b340
@ -58,4 +58,5 @@ async def test_hass_stop(hass: HomeAssistant):
|
|||||||
await hass.config_entries.async_setup(entry.entry_id)
|
await hass.config_entries.async_setup(entry.entry_id)
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
hass.bus.async_fire(EVENT_HOMEASSISTANT_STOP)
|
hass.bus.async_fire(EVENT_HOMEASSISTANT_STOP)
|
||||||
assert async_disconnect.assert_called_once
|
await hass.async_block_till_done()
|
||||||
|
async_disconnect.assert_called_once()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user