MCPcopy Create free account
hub / github.com/bcefghj/miniClaudeCode / test_get_tool

Method test_get_tool

tests/test_tools.py:35–38  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

33 self.assertIn("input_schema", schema)
34
35 def test_get_tool(self):
36 registry = ToolRegistry.default()
37 self.assertIsNotNone(registry.get("bash"))
38 self.assertIsNone(registry.get("nonexistent"))
39
40
41class TestBashTool(unittest.TestCase):

Callers

nothing calls this directly

Calls 2

defaultMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected