diff --git a/robot/tui_help_command.robot b/robot/tui_help_command.robot index 1cb2105c4..a6036fc12 100644 --- a/robot/tui_help_command.robot +++ b/robot/tui_help_command.robot @@ -26,7 +26,6 @@ TUI Help Command Lists All Catalogued Commands TUI Help Command Groups By Namespace [Documentation] /help output must include group headers for Session, Persona, Plan, Utility. - [Tags] tdd_issue tdd_issue_4298 tdd_expected_fail ${script}= Catenate SEPARATOR=\n ... from cleveragents.tui.commands import TuiCommandRouter ... from unittest.mock import MagicMock @@ -35,8 +34,8 @@ TUI Help Command Groups By Namespace ... state = MagicMock() ... router = TuiCommandRouter(persona_registry=registry, persona_state=state) ... result = router.handle("help", session_id="default") - ... for group in ("Session:", "Persona:", "Plan:", "Utility:"): - ... assert group in result, f"Missing group header {group!r} in output" + ... missing = [g for g in ("Session:", "Persona:", "Plan:", "Utility:") if g not in result] + ... assert not missing, f"Missing group headers: {missing}" ... print("tui-help-groups-ok") ${result}= Run Process ${PYTHON} -c ${script} shell=False stderr=STDOUT Should Be Equal As Integers ${result.rc} 0