Fix logbook test that failed to exclude EVENT_HOMEASSISTANT_FINAL_WRITE (#88568)

This commit is contained in:
J. Nick Koston 2023-02-21 16:22:44 -06:00 committed by GitHub
parent 3501a9788f
commit 93e37243f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2475,7 +2475,9 @@ async def test_subscribe_all_entities_have_uom_multiple(
await hass.async_block_till_done()
# Check our listener got unsubscribed
assert hass.bus.async_listeners() == init_listeners
assert listeners_without_writes(
hass.bus.async_listeners()
) == listeners_without_writes(init_listeners)
@patch("homeassistant.components.logbook.websocket_api.EVENT_COALESCE_TIME", 0)