mirror of
https://github.com/elisspace/core.git
synced 2026-08-29 15:43:55 +00:00
Don't mock non async with AsyncMock (#93749)
This commit is contained in:
@@ -305,7 +305,7 @@ def skip_stop_scripts(
|
||||
return
|
||||
with patch(
|
||||
"homeassistant.helpers.script._schedule_stop_scripts_after_shutdown",
|
||||
AsyncMock(),
|
||||
Mock(),
|
||||
):
|
||||
yield
|
||||
|
||||
|
||||
Reference in New Issue
Block a user