test: verify portable workspace registry end to end

This commit is contained in:
2026-08-04 08:42:33 +02:00
parent 3d5d26c20c
commit 8b046f9fb2
9 changed files with 143 additions and 2 deletions
+4
View File
@@ -291,6 +291,10 @@ def test_cli_documents_json(tmp_path, monkeypatch):
m = create_session("q", _db(), tmp_path)
from tht.cli import session_cmd
# The CLI resolves its local principal through THT_HOME. Keep this test hermetic instead
# of changing the developer's real identity directory while exercising JSON output.
monkeypatch.setenv("THT_HOME", str(tmp_path / "thoth-home"))
class FakePaths:
sessions = tmp_path