Deprecate calling async_listen and async_listen_once with run_immediately (#115169)
This commit is contained in:
parent
5ef42078a3
commit
ca5ed274cb
67 changed files with 126 additions and 243 deletions
|
@ -399,7 +399,6 @@ async def test_show_progress(hass: HomeAssistant, manager) -> None:
|
|||
hass.bus.async_listen(
|
||||
data_entry_flow.EVENT_DATA_ENTRY_FLOW_PROGRESSED,
|
||||
capture_events,
|
||||
run_immediately=True,
|
||||
)
|
||||
|
||||
result = await manager.async_init("test")
|
||||
|
@ -479,7 +478,6 @@ async def test_show_progress_error(hass: HomeAssistant, manager) -> None:
|
|||
hass.bus.async_listen(
|
||||
data_entry_flow.EVENT_DATA_ENTRY_FLOW_PROGRESSED,
|
||||
capture_events,
|
||||
run_immediately=True,
|
||||
)
|
||||
|
||||
result = await manager.async_init("test")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue