Rename Services to Actions in translation strings (#121777)
This commit is contained in:
parent
190f12cead
commit
a9bf12f102
34 changed files with 79 additions and 79 deletions
|
@ -207,7 +207,7 @@ async def test_get_trace(
|
|||
_assert_raw_config(domain, sun_config, trace)
|
||||
assert trace["blueprint_inputs"] is None
|
||||
assert trace["context"]
|
||||
assert trace["error"] == "Service test.automation not found"
|
||||
assert trace["error"] == "Action test.automation not found"
|
||||
assert trace["state"] == "stopped"
|
||||
assert trace["script_execution"] == "error"
|
||||
assert trace["item_id"] == "sun"
|
||||
|
@ -899,7 +899,7 @@ async def test_list_traces(
|
|||
assert len(_find_traces(response["result"], domain, "sun")) == 1
|
||||
trace = _find_traces(response["result"], domain, "sun")[0]
|
||||
assert trace["last_step"] == last_step[0].format(prefix=prefix)
|
||||
assert trace["error"] == "Service test.automation not found"
|
||||
assert trace["error"] == "Action test.automation not found"
|
||||
assert trace["state"] == "stopped"
|
||||
assert trace["script_execution"] == script_execution[0]
|
||||
assert trace["timestamp"]
|
||||
|
@ -1639,7 +1639,7 @@ async def test_trace_blueprint_automation(
|
|||
assert trace["config"]["id"] == "sun"
|
||||
assert trace["blueprint_inputs"] == sun_config
|
||||
assert trace["context"]
|
||||
assert trace["error"] == "Service test.automation not found"
|
||||
assert trace["error"] == "Action test.automation not found"
|
||||
assert trace["state"] == "stopped"
|
||||
assert trace["script_execution"] == "error"
|
||||
assert trace["item_id"] == "sun"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue