File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
packages/toolbox-core/tests Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,20 @@ async def test_load_toolset_specific(
61
61
tool_names = {tool .__name__ for tool in toolset }
62
62
assert tool_names == set (expected_tools )
63
63
64
+ async def test_load_toolset_default (self , toolbox : ToolboxClient ):
65
+ """Load the default toolset, i.e. all tools."""
66
+ toolset = await toolbox .load_toolset ()
67
+ assert len (toolset ) == "5"
68
+ tool_names = {tool .__name__ for tool in toolset }
69
+ expected_tools = [
70
+ "get-row-by-content-auth" ,
71
+ "get-row-by-email-auth" ,
72
+ "get-row-by-id-auth" ,
73
+ "get-row-by-id" ,
74
+ "get-n-rows" ,
75
+ ]
76
+ assert tool_names == set (expected_tools )
77
+
64
78
async def test_run_tool (self , get_n_rows_tool : ToolboxTool ):
65
79
"""Invoke a tool."""
66
80
response = await get_n_rows_tool (num_rows = "2" )
You can’t perform that action at this time.
0 commit comments