Fix logbook test that failed to exclude EVENT_HOMEASSISTANT_FINAL_WRITE (#88568)
This commit is contained in:
parent
3501a9788f
commit
93e37243f6
1 changed files with 3 additions and 1 deletions
|
@ -2475,7 +2475,9 @@ async def test_subscribe_all_entities_have_uom_multiple(
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
|
|
||||||
# Check our listener got unsubscribed
|
# 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)
|
@patch("homeassistant.components.logbook.websocket_api.EVENT_COALESCE_TIME", 0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue