diff --git a/supervisor/resolution/evaluations/container.py b/supervisor/resolution/evaluations/container.py index 966c74b6c..7f3f88416 100644 --- a/supervisor/resolution/evaluations/container.py +++ b/supervisor/resolution/evaluations/container.py @@ -51,7 +51,7 @@ class EvaluateContainer(EvaluateBase): @property def states(self) -> list[CoreState]: """Return a list of valid states when this evaluation can run.""" - return [CoreState.SETUP, CoreState.RUNNING, CoreState.INITIALIZE] + return [CoreState.RUNNING] @property def known_images(self) -> set[str]: diff --git a/tests/resolution/evaluation/test_evaluation.py b/tests/resolution/evaluation/test_evaluation.py index 1181ad1ed..6650e7c5e 100644 --- a/tests/resolution/evaluation/test_evaluation.py +++ b/tests/resolution/evaluation/test_evaluation.py @@ -41,9 +41,6 @@ async def test_evaluation_setup(coresys: CoreSys): "supervisor.resolution.evaluations.operating_system.EvaluateOperatingSystem.evaluate", return_value=False, ) as operating_system, patch( - "supervisor.resolution.evaluations.container.EvaluateContainer.evaluate", - return_value=False, - ) as container, patch( "supervisor.resolution.evaluations.network_manager.EvaluateNetworkManager.evaluate", return_value=False, ) as network_manager, patch( @@ -52,7 +49,6 @@ async def test_evaluation_setup(coresys: CoreSys): ) as systemd: await coresys.resolution.evaluate.evaluate_system() operating_system.assert_called_once() - container.assert_called_once() network_manager.assert_called_once() systemd.assert_called_once()