MCPcopy
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
10def 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
20def test_tool_name_override():

Callers

nothing calls this directly

Calls 2

runMethod · 0.95
ToolClass · 0.90

Tested by

no test coverage detected