The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(gateway): pin routing-index harness to the tmp HERMES_HOME store
Teknium5a407a0c5271
diff --git a/tests/gateway/test_routing_save_fast_path.py b/tests/gateway/test_routing_save_fast_path.pyindex d693c3b236d..c7ea83335ee 100644--- a/tests/gateway/test_routing_save_fast_path.py+++ b/tests/gateway/test_routing_save_fast_path.py@@ -29,6 +29,12 @@ def _source(user_id: str = "user-1") -> SessionSource:def _make_store(tmp_path, monkeypatch, **config_kwargs) -> SessionStore:monkeypatch.setattr(hermes_state, "DEFAULT_DB_PATH", tmp_path / "state.db")+ # The routing index is pinned to HERMES_HOME's store (#66887 recovery+ # fix); point it at the test tmp so the ambient and routing stores are+ # the same file, matching the store this harness inspects.+ import hermes_constants++ monkeypatch.setattr(hermes_constants, "get_hermes_home", lambda: str(tmp_path))return SessionStore(sessions_dir=tmp_path / "sessions",config=GatewayConfig(**config_kwargs),