From 9c0807070388c4f612a827230f1314ebbf24e857 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Sun, 24 May 2026 15:57:26 -0700 Subject: [PATCH] test(cli): update resume usage-hint assertion for numbered selection PR #9020's salvage changed the /resume list footer from 'Use /resume to continue.' to 'Use /resume , /resume , or /resume to continue.\n Example: /resume 2'. test_resume_without_target_lists_recent_sessions still pinned the old string verbatim and failed in CI. Relax to substring assertions that allow both the new numbered footer and any future tweaks while still verifying the hint is shown. --- tests/cli/test_cli_init.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/cli/test_cli_init.py b/tests/cli/test_cli_init.py index cdd6c090dc4..5849b5b490f 100644 --- a/tests/cli/test_cli_init.py +++ b/tests/cli/test_cli_init.py @@ -331,7 +331,8 @@ class TestHistoryDisplay: assert "Recent sessions" in output assert "Checking Running Hermes Agent" in output - assert "Use /resume to continue" in output + assert "Use /resume" in output + assert "session title" in output def test_resume_updates_hermes_session_id_env_and_context(self, tmp_path): from gateway.session_context import _UNSET, _VAR_MAP, get_session_env