fix: finish HERMES_HOME path cleanup

- route CLI interrupt debug logging through HERMES_HOME
- update the remaining channel_directory test to patch HERMES_HOME
  instead of Path.home()
This commit is contained in:
teknium1 2026-03-13 21:35:07 -07:00
parent 437ec17125
commit 206e56cc5e
2 changed files with 3 additions and 5 deletions

View file

@ -203,7 +203,7 @@ class TestBuildFromSessions:
},
})
with patch.object(Path, "home", return_value=tmp_path):
with patch.dict(os.environ, {"HERMES_HOME": str(tmp_path)}):
entries = _build_from_sessions("telegram")
ids = {entry["id"] for entry in entries}