Skip to content

The agent that grows with you

test(update): adapt handoff regression to the other_pid fixture

Brooklyn Nicholson38d3dbce4adb
diff --git a/tests/hermes_cli/test_update_lock.py b/tests/hermes_cli/test_update_lock.py
index 07a36c5c726..325bb0303cd 100644
--- a/tests/hermes_cli/test_update_lock.py
+++ b/tests/hermes_cli/test_update_lock.py
@@ -277,7 +277,7 @@ class TestHandoffFromOrchestratingUpdater:
assert int(marker.read_text(encoding="utf-8").splitlines()[0]) == other_pid
def test_handoff_pid_that_is_not_the_live_holder_grants_nothing(
- self, marker, monkeypatch
+ self, marker, monkeypatch, other_pid
):
"""The env var alone must not bypass the lock."""
_claim(marker, other_pid)