Skip to content

Commit 1fc0b62

Browse files
Fix flaky template test (#169361)
1 parent ab08153 commit 1fc0b62

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/components/template/test_init.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,7 @@ async def test_yaml_reload_when_labs_flag_changes(
625625
},
626626
)
627627
assert await async_setup_component(hass, labs.DOMAIN, {})
628+
await hass.async_block_till_done()
628629
assert hass.states.get("sensor.hello") is not None
629630
assert hass.states.get("sensor.bye") is None
630631
listeners = hass.bus.async_listeners()

0 commit comments

Comments
 (0)