Skip to content

The agent that grows with you

test(dashboard): widen _find_stale_dashboard_pids doubles for the scope_home kwarg

teknium10c96e48e0fe9
diff --git a/tests/hermes_cli/test_resource_limits.py b/tests/hermes_cli/test_resource_limits.py
index 22018f30a74..2c9ca7341d5 100644
--- a/tests/hermes_cli/test_resource_limits.py
+++ b/tests/hermes_cli/test_resource_limits.py
@@ -331,8 +331,8 @@ def test_dashboard_lifecycle_flags_skip_limit_adjustment(monkeypatch, lifecycle_
lambda: calls.append("limit"),
)
monkeypatch.setattr(dashboard_procs, "_scan_dashboard_processes", lambda: [])
- monkeypatch.setattr(cli_main, "_find_stale_dashboard_pids", lambda: [])
- monkeypatch.setattr(hermes_cli_main_dashboard, "_find_stale_dashboard_pids", lambda: [])
+ monkeypatch.setattr(cli_main, "_find_stale_dashboard_pids", lambda **_: [])
+ monkeypatch.setattr(hermes_cli_main_dashboard, "_find_stale_dashboard_pids", lambda **_: [])
args = SimpleNamespace(
status=lifecycle_flag == "status",