mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
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:
parent
988ecc7420
commit
c66c688727
2 changed files with 1 additions and 2 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue