Fix test_hass_stop in devolo Home Network (#72833)

Fix test_hass_stop
This commit is contained in:
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

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()