mirror of
https://github.com/home-assistant/core.git
synced 2026-10-06 14:29:21 -04:00
Fix flaky script shared context test (#183838)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
619c338d86
commit
cfa6f75033
@@ -658,7 +658,7 @@ async def test_shared_context(hass: HomeAssistant) -> None:
|
||||
started_flag.set()
|
||||
|
||||
hass.bus.async_listen(event, event_started)
|
||||
hass.bus.async_listen(EVENT_SCRIPT_STARTED, run_mock)
|
||||
hass.bus.async_listen(EVENT_SCRIPT_STARTED, callback(run_mock))
|
||||
|
||||
assert await async_setup_component(
|
||||
hass,
|
||||
|
||||
Reference in New Issue
Block a user