Skip to content

Commit a7cde07

Browse files
cdeustclaude
andcommitted
test(main): bump tool-count assertion to 46 for Gap 1 (query_workflow_graph)
CI-only regression on 8e1ec32 — tests_py/test_main.py pinned the registered-tool count at 45. Gap 1 added query_workflow_graph, bringing the count to 46. Updated the assertion + added an explicit inclusion check for the new tool so a later removal fails loudly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8e1ec32 commit a7cde07

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests_py/test_main.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_main_registers_signal_handlers_and_runs(self):
2929
mock_run.assert_called_once_with(transport="stdio")
3030

3131
def test_mcp_server_has_tools(self):
32-
"""FastMCP instance should have all 45 tools registered."""
32+
"""FastMCP instance should have all 46 tools registered."""
3333
import asyncio
3434

3535
tools = asyncio.run(mcp.list_tools())
@@ -63,7 +63,9 @@ def test_mcp_server_has_tools(self):
6363
assert "wiki_verify" in tool_names
6464
assert "unified_search" in tool_names
6565
assert "change_impact" in tool_names
66-
assert len(tool_names) == 45
66+
# Gap 1 — typed subgraph query over the workflow graph.
67+
assert "query_workflow_graph" in tool_names
68+
assert len(tool_names) == 46
6769

6870
def test_mcp_server_name_and_version(self):
6971
assert mcp.name == "methodology-agent"

0 commit comments

Comments
 (0)