mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-09 10:59:43 +00:00
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.
16 lines
416 B
Python
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()
|