Skip to content

The agent that grows with you

test(cron): W5 remove assertions against nonexistent diagnostics

yoniebans7790e58965ff
diff --git a/tests/hermes_cli/test_cron_satellite_diagnostics.py b/tests/hermes_cli/test_cron_satellite_diagnostics.py
index e55772318d3..5201f028bac 100644
--- a/tests/hermes_cli/test_cron_satellite_diagnostics.py
+++ b/tests/hermes_cli/test_cron_satellite_diagnostics.py
@@ -65,7 +65,6 @@ def test_status_preserves_profile_health_contract(profile, capsys, monkeypatch,
if mode == "stale":
assert "STALLED" in output
if mode in {"disabled", "excluded"}:
- assert "24/7" not in output
assert "hermes gateway install" in output
assert "sudo hermes gateway install --system" in output
assert "hermes gateway run" in output
@@ -131,7 +130,6 @@ def test_doctor_reports_persisted_dispatch_health(profile, capsys, dispatch):
output = capsys.readouterr().out
expected = {"catch_up": "catch-up", "late": "last fire was late", "forward_error": "loopback unavailable"}
assert expected[dispatch] in output
- assert "scheduler was not running" not in output
if dispatch == "forward_error":
jobs.mark_job_run(job["id"], success=True)
assert cron_doctor() == 0