Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Forethought-Technologies/AutoChain
/ test_run_tool
Function
test_run_tool
tests/tools/test_base_tool.py:10–17 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
8
9
10
def
test_run_tool():
11
tool = Tool(
12
func=sample_tool_func,
13
description=
""
"This is just a dummy tool"
""
,
14
)
15
16
output = tool.run(
"test"
)
17
assert output ==
"run with test"
18
19
20
def
test_tool_name_override():
Callers
nothing calls this directly
Calls
2
run
Method · 0.95
Tool
Class · 0.90
Tested by
no test coverage detected