Fix test_hass_stop in devolo Home Network (#72833)

Fix test_hass_stop
pull/71130/head
Guido Schmitz 2022-06-02 13:59:29 +02:00 committed by GitHub
parent 62a5854e40
commit 219200b340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -58,4 +58,5 @@ async def test_hass_stop(hass: HomeAssistant):
await hass.config_entries.async_setup(entry.entry_id)
await hass.async_block_till_done()
hass.bus.async_fire(EVENT_HOMEASSISTANT_STOP)
assert async_disconnect.assert_called_once
await hass.async_block_till_done()
async_disconnect.assert_called_once()