App services in Supervisor integration validate syntax not installed status (#170519)

This commit is contained in:
Mike Degatano
2026-05-13 22:34:34 +02:00
committed by GitHub
parent 150e241601
commit eaf73d6526
2 changed files with 5 additions and 23 deletions
+2 -2
View File
@@ -638,13 +638,13 @@ async def test_invalid_service_calls(hass: HomeAssistant, app_or_addon: str) ->
with pytest.raises(Invalid):
await hass.services.async_call(
"hassio", f"{app_or_addon}_start", {app_or_addon: "does_not_exist"}
"hassio", f"{app_or_addon}_start", {app_or_addon: "inv@lid"}
)
with pytest.raises(Invalid):
await hass.services.async_call(
"hassio",
f"{app_or_addon}_stdin",
{app_or_addon: "does_not_exist", "input": "test"},
{app_or_addon: "inv@lid", "input": "test"},
)