Skip to content

The agent that grows with you

test(state): drop redundant HERMES_HOME setenv from the dedupe db fixture

kshitijk4poorfb7cd5f65ed5
diff --git a/tests/hermes_state/test_display_dedupe_pruned_tool_payload.py b/tests/hermes_state/test_display_dedupe_pruned_tool_payload.py
index 1e353793247..e48575dac27 100644
--- a/tests/hermes_state/test_display_dedupe_pruned_tool_payload.py
+++ b/tests/hermes_state/test_display_dedupe_pruned_tool_payload.py
@@ -17,8 +17,7 @@ from hermes_state import SessionDB
@pytest.fixture()
-def db(tmp_path, monkeypatch):
- monkeypatch.setenv("HERMES_HOME", str(tmp_path))
+def db(tmp_path):
instance = SessionDB(tmp_path / "state.db")
yield instance
instance.close()