The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(tests): executor-isolation stub for list_profiles accepts the lazy_skill_count kwarg
teknium18d8f756920f3
diff --git a/tests/hermes_cli/test_web_server_executor_isolation.py b/tests/hermes_cli/test_web_server_executor_isolation.pyindex 24111389ec6..aaf1924dc53 100644--- a/tests/hermes_cli/test_web_server_executor_isolation.py+++ b/tests/hermes_cli/test_web_server_executor_isolation.py@@ -73,7 +73,9 @@ async def _request_with_wedged_default_executor(path: str, *, warm: bool = Falsedef test_profiles_route_survives_default_executor_starvation(monkeypatch):from hermes_cli import profiles- monkeypatch.setattr(profiles, "list_profiles", lambda: [])+ # The route passes ``lazy_skill_count=True`` (#114041); a positional-only stub would TypeError+ # into the directory-scan fallback and return the real profile list instead.+ monkeypatch.setattr(profiles, "list_profiles", lambda **_: [])response = asyncio.run(_request_with_wedged_default_executor("/api/profiles"))