Skip to content

Commit 00bf2a4

Browse files
DevonFulcherclaude
andcommitted
fix: update admin tools test count to 12
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d81360b commit 00bf2a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/unit/dbt_admin/test_tools.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ async def test_register_admin_api_tools_all_tools(mock_register_tools, mock_fast
120120
disabled_toolsets=set(),
121121
)
122122

123-
# Should call register_tools with 14 tool definitions (12 original + 2 for_project)
123+
# Should call register_tools with 12 tool definitions (multiproject tools registered separately)
124124
mock_register_tools.assert_called_once()
125125
args, kwargs = mock_register_tools.call_args
126126
tool_definitions = kwargs["tool_definitions"]
127-
assert len(tool_definitions) == 14
127+
assert len(tool_definitions) == 12
128128

129129

130130
@patch("dbt_mcp.dbt_admin.tools.register_tools")
@@ -143,13 +143,13 @@ async def test_register_admin_api_tools_with_disabled_tools(
143143
disabled_toolsets=set(),
144144
)
145145

146-
# Should still call register_tools with all 14 tool definitions
146+
# Should still call register_tools with all 12 tool definitions (multiproject tools registered separately)
147147
# The exclude_tools parameter is passed to register_tools to handle filtering
148148
mock_register_tools.assert_called_once()
149149
args, kwargs = mock_register_tools.call_args
150150
tool_definitions = kwargs["tool_definitions"]
151151
disabled_tools = kwargs["disabled_tools"]
152-
assert len(tool_definitions) == 14
152+
assert len(tool_definitions) == 12
153153
assert disabled_tools == set(disable_tools)
154154

155155

0 commit comments

Comments
 (0)