fix: remove redundant restart message from update launchd path

launchd_restart() already prints stop/start confirmation via its
internal helpers — the extra 'Gateway restarted via launchd' line
was redundant. Update test assertion to match.
This commit is contained in:
Teknium
2026-04-03 01:03:46 -07:00
committed by Teknium
parent 988ecc7420
commit c66c688727
2 changed files with 1 additions and 2 deletions

View File

@@ -312,7 +312,7 @@ class TestCmdUpdateLaunchdRestart:
cmd_update(mock_args)
captured = capsys.readouterr().out
assert "Gateway restarted via launchd" in captured
assert "Restarting gateway service" in captured
assert "Restart it with: hermes gateway run" not in captured
mock_launchd_restart.assert_called_once_with()