mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 21:10:25 +00:00
Prevent calling stop or restart services during db upgrade (#49098)
This commit is contained in:
@@ -126,7 +126,7 @@ async def test_call_service_blocking(hass, websocket_client, command):
|
||||
assert msg["type"] == const.TYPE_RESULT
|
||||
assert msg["success"]
|
||||
mock_call.assert_called_once_with(
|
||||
ANY, "homeassistant", "restart", ANY, blocking=False, context=ANY, target=ANY
|
||||
ANY, "homeassistant", "restart", ANY, blocking=True, context=ANY, target=ANY
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user