From fe9d95e22b3c27876c8fdb1aa8df4dec98cb2081 Mon Sep 17 00:00:00 2001 From: nesquena-hermes <[email protected]> Date: Mon, 25 May 2026 17:11:59 +0000 Subject: [PATCH] stage-batch17: skip #2927 test file when hermes-agent module not available (CI fix) --- tests/test_agent_health_pid_path_fallback.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_agent_health_pid_path_fallback.py b/tests/test_agent_health_pid_path_fallback.py index e0a5b37d..27485009 100644 --- a/tests/test_agent_health_pid_path_fallback.py +++ b/tests/test_agent_health_pid_path_fallback.py @@ -18,6 +18,10 @@ from __future__ import annotations from pathlib import Path +import pytest + +pytest.importorskip("hermes_constants", reason="hermes-agent not installed") + def _call(monkeypatch, root: Path, profile_dir: Path | None = None) -> Path | None: """Call _gateway_root_pid_path() with mocked filesystem roots."""