mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 12:15:08 +02:00
@@ -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()
|
||||||
|
Reference in New Issue
Block a user