MCPcopy Create free account
hub / github.com/IBM/mcp-cli / test_dynamic_tool_name_values

Function test_dynamic_tool_name_values

tests/tools/test_dynamic_tools.py:41–46  ·  view source on GitHub ↗

Verify enum values match expected tool names.

()

Source from the content-addressed store, hash-verified

39
40
41def test_dynamic_tool_name_values():
42 """Verify enum values match expected tool names."""
43 assert DynamicToolName.LIST_TOOLS.value == "list_tools"
44 assert DynamicToolName.SEARCH_TOOLS.value == "search_tools"
45 assert DynamicToolName.GET_TOOL_SCHEMA.value == "get_tool_schema"
46 assert DynamicToolName.CALL_TOOL.value == "call_tool"
47
48
49def test_dynamic_tool_name_is_string_enum():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected