mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 20:35:55 +00:00
Move write of core state to executor (#5720)
This commit is contained in:
@@ -10,7 +10,7 @@ from supervisor.utils import check_exception_chain
|
||||
|
||||
async def test_check_system_error(coresys: CoreSys, capture_exception: Mock):
|
||||
"""Test error while checking system."""
|
||||
coresys.core.state = CoreState.STARTUP
|
||||
await coresys.core.set_state(CoreState.STARTUP)
|
||||
|
||||
with (
|
||||
patch.object(CheckCoreSecurity, "run_check", side_effect=ValueError),
|
||||
|
||||
Reference in New Issue
Block a user