Refine scene context error handling

This commit is contained in:
latand 2026-02-10 22:10:11 +02:00
parent b01560fd29
commit 25deca8f39
2 changed files with 8 additions and 4 deletions

View file

@ -333,7 +333,7 @@ class TestSceneHandlerWrapper:
with pytest.raises(
SceneException,
match="Scene context is not available. Ensure FSM is enabled and pipeline is intact.",
match="Scene context key 'state' is not available. Ensure FSM is enabled and pipeline is intact.",
):
await scene_handler_wrapper(event_update_mock, event_update=event_update_mock)