mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-12-11 01:23:33 -06:00
Remove usage of --content-trust CLI option in Supervisor tests (#4371)
With https://github.com/home-assistant/cli/pull/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. (cherry picked from commit 1d29f6b099d797215f0be22b69c281d3425f6992)
This commit is contained in:
parent
3cdb465ecf
commit
eef29878b4
@ -117,11 +117,7 @@ def test_addon_install(shell_json):
|
||||
|
||||
|
||||
@pytest.mark.dependency(depends=["test_supervisor_is_updated"])
|
||||
def test_code_sign(shell_json):
|
||||
# enable Content-Trust
|
||||
assert (
|
||||
shell_json("ha security options --content-trust=true --no-progress --raw-json").get("result") == "ok"
|
||||
), "Content-Trust enable failed"
|
||||
def test_supervisor_errors(shell_json):
|
||||
# run Supervisor health check
|
||||
health_check = shell_json("ha resolution healthcheck --no-progress --raw-json")
|
||||
assert health_check.get("result") == "ok", "Supervisor health check failed"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user