Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/unit/test_colleague_spawn.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from __future__ import annotations

import json
from pathlib import Path

from octop.modules.org_os.compiler.compile import compile_blueprint
Expand Down Expand Up @@ -38,4 +39,5 @@ def test_spawn_writes_registry_and_agent_row(tmp_path: Path) -> None:
assert row is not None
assert row.name == "Policy Analyst"
assert row.system_prompt and "Policy Analyst" in row.system_prompt
assert compiled.workspace.as_posix() in (row.config_json or "")
cfg = json.loads(row.config_json or "{}")
assert Path(cfg["workspace_dir"]) == compiled.workspace
Loading