fix(tests): rename misleading test names after create_issue enablement (#114)
Co-authored-by: opencode-agent <agent@opencode.local>
This commit is contained in:
parent
f1b8ff94bf
commit
fc03889c6f
1 changed files with 5 additions and 5 deletions
|
|
@ -122,8 +122,8 @@ def test_general_tools():
|
|||
# ── agent.reviewer.tools ────────────────────────────────────────────────────
|
||||
|
||||
|
||||
def test_reviewer_tools_all_false():
|
||||
"""reviewer is read-only — all 4 tools false."""
|
||||
def test_reviewer_tools_readonly():
|
||||
"""reviewer is read-only for repo ops; can create issues for discovered bugs."""
|
||||
tools = _load_config()["agent"]["reviewer"]["tools"]
|
||||
assert tools["commit"] is False
|
||||
assert tools["create_pr"] is False
|
||||
|
|
@ -135,7 +135,7 @@ def test_reviewer_tools_all_false():
|
|||
|
||||
|
||||
def test_docs_reviewer_tools():
|
||||
"""docs-reviewer: commit=true (commits project map/handoff), rest false."""
|
||||
"""docs-reviewer: commit=true (project map/handoff), create_issue=true, rest false."""
|
||||
tools = _load_config()["agent"]["docs-reviewer"]["tools"]
|
||||
assert tools["commit"] is True
|
||||
assert tools["create_pr"] is False
|
||||
|
|
@ -146,8 +146,8 @@ def test_docs_reviewer_tools():
|
|||
# ── agent.memory-syncer.tools ───────────────────────────────────────────────
|
||||
|
||||
|
||||
def test_memory_syncer_tools_all_false():
|
||||
"""memory-syncer works only in memory repo — all 4 tools false."""
|
||||
def test_memory_syncer_tools_readonly():
|
||||
"""memory-syncer is read-only for repo ops; can create issues."""
|
||||
tools = _load_config()["agent"]["memory-syncer"]["tools"]
|
||||
assert tools["commit"] is False
|
||||
assert tools["create_pr"] is False
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue