Skip to content

Commit 1d29f6b

Browse files
authored
Remove usage of --content-trust CLI option in Supervisor tests (#4371)
With home-assistant/cli#604, there is no --content-trust option anymore. Remove the call and only check if Supervisor is healthy and there are no issues. This replaces #4370 which is too broad.
1 parent ee6f8ce commit 1d29f6b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/supervisor_test/test_supervisor.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,7 @@ def test_addon_install(shell_json):
117117

118118

119119
@pytest.mark.dependency(depends=["test_supervisor_is_updated"])
120-
def test_code_sign(shell_json):
121-
# enable Content-Trust
122-
assert (
123-
shell_json("ha security options --content-trust=true --no-progress --raw-json").get("result") == "ok"
124-
), "Content-Trust enable failed"
120+
def test_supervisor_errors(shell_json):
125121
# run Supervisor health check
126122
health_check = shell_json("ha resolution healthcheck --no-progress --raw-json")
127123
assert health_check.get("result") == "ok", "Supervisor health check failed"

0 commit comments

Comments
 (0)