MCPcopy
hub / github.com/Forethought-Technologies/AutoChain / test_tool_name_override

Function test_tool_name_override

tests/tools/test_base_tool.py:20–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19
20def test_tool_name_override():
21 new_test_name = "new_name"
22 tool = Tool(
23 name=new_test_name,
24 func=sample_tool_func,
25 description="""This is just a dummy tool""",
26 )
27
28 assert tool.name == new_test_name
29
30
31def test_arg_description():

Callers

nothing calls this directly

Calls 1

ToolClass · 0.90

Tested by

no test coverage detected