diff --git a/tests/hermes_cli/test_placeholder_usage.py b/tests/hermes_cli/test_placeholder_usage.py index 3479d8f5703b..b21834927cb9 100644 --- a/tests/hermes_cli/test_placeholder_usage.py +++ b/tests/hermes_cli/test_placeholder_usage.py @@ -18,7 +18,15 @@ def test_config_set_usage_marks_placeholders(capsys): assert exc.value.code == 1 out = capsys.readouterr().out - assert "Usage: hermes config set " in out + # The usage line documents the optional --force flag added in #34067 + # (schema validation for unknown keys). Placeholder convention is preserved: + # the literal ```` and ```` markers must still be present so + # downstream tooling can detect placeholder syntax. + assert "Usage: hermes config set" in out + assert "" in out + assert "" in out + # --force escape hatch must be documented in the usage line. + assert "--force" in out def test_config_unknown_command_help_marks_placeholders(capsys):