From 9b43a439dcf7cbf65fe6d76c4f020d4e5c58b037 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= Date: Thu, 30 Oct 2025 08:29:18 +0100 Subject: [PATCH] Remove Supervisor test using removed --content-trust CLI option With https://github.com/home-assistant/cli/pull/604, this test now fails as the option has been removed. Remove the test altogether. --- tests/supervisor_test/test_supervisor.py | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/tests/supervisor_test/test_supervisor.py b/tests/supervisor_test/test_supervisor.py index 2b8bc1b2a..bdbff62e9 100644 --- a/tests/supervisor_test/test_supervisor.py +++ b/tests/supervisor_test/test_supervisor.py @@ -116,27 +116,6 @@ def test_addon_install(shell_json): logger.info("Core SSH add-on info: %s", ssh_info) -@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" - # 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" - logger.info("Supervisor health check result: %s", health_check) - # get resolution center info - resolution_info = shell_json("ha resolution info --no-progress --raw-json") - logger.info("Resolution center info: %s", resolution_info) - # check supervisor is healthy - unhealthy = resolution_info.get("data").get("unhealthy") - assert len(unhealthy) == 0, "Supervisor is unhealthy" - # check for unsupported entries - unsupported = resolution_info.get("data").get("unsupported") - assert len(unsupported) == 0, "Unsupported entries found" - - @pytest.mark.dependency(depends=["test_supervisor_is_updated"]) def test_create_backup(shell_json, stash): result = shell_json("ha backups new --no-progress --raw-json")