mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 02:07:09 +00:00
Don't mock non async with AsyncMock (#93749)
This commit is contained in:
parent
617ff24b9b
commit
067fc079a3
@ -305,7 +305,7 @@ def skip_stop_scripts(
|
|||||||
return
|
return
|
||||||
with patch(
|
with patch(
|
||||||
"homeassistant.helpers.script._schedule_stop_scripts_after_shutdown",
|
"homeassistant.helpers.script._schedule_stop_scripts_after_shutdown",
|
||||||
AsyncMock(),
|
Mock(),
|
||||||
):
|
):
|
||||||
yield
|
yield
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user