Files
supervisor/tests/resolution/test_evaluation.py
Stefan Agner d3e7df34d2 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-07 15:52:48 +02: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()