From 577b477a784be109c7b08a57acda5ab0ced8f232 Mon Sep 17 00:00:00 2001 From: teyrebaz33 Date: Sat, 14 Mar 2026 14:19:23 +0300 Subject: [PATCH] fix(test): add missing session_id and _pending_input to _make_cli fixture CI failure: test_skill_command_prefix_matches raised AttributeError because HermesCLI.__new__ skips __init__, leaving session_id and _pending_input unset. These are accessed when skill command dispatch runs in the CI environment. --- tests/test_cli_prefix_matching.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_cli_prefix_matching.py b/tests/test_cli_prefix_matching.py index 617cee9ae..ffec91957 100644 --- a/tests/test_cli_prefix_matching.py +++ b/tests/test_cli_prefix_matching.py @@ -9,6 +9,8 @@ def _make_cli(): cli_obj.console = MagicMock() cli_obj.agent = None cli_obj.conversation_history = [] + cli_obj.session_id = None + cli_obj._pending_input = MagicMock() return cli_obj