Files
supervisor/tests/resolution/test_evaluation.py
Stefan Agner 4f78b19f5c Remove CodeNotary specific integrity checking
The current code is specific to how CodeNotary was doing integrity
checking. A future integrity checking mechanism likely will work
differently (e.g. through EROFS based containers). Remove the current
code to make way for a future implementation.
2025-10-28 15:48:00 +01:00

16 lines
416 B
Python

"""Test evaluations."""
from unittest.mock import Mock
from supervisor.const import CoreState
from supervisor.coresys import CoreSys
async def test_evaluate_system_error(coresys: CoreSys, capture_exception: Mock):
"""Test error while evaluating system."""
await coresys.core.set_state(CoreState.RUNNING)
await coresys.resolution.evaluate.evaluate_system()
capture_exception.assert_not_called()