mirror of
https://github.com/home-assistant/core.git
synced 2025-04-22 16:27:56 +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
|
||||
with patch(
|
||||
"homeassistant.helpers.script._schedule_stop_scripts_after_shutdown",
|
||||
AsyncMock(),
|
||||
Mock(),
|
||||
):
|
||||
yield
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user