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

Method test_api_schemas_valid

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

Source from the content-addressed store, hash-verified

24 self.assertEqual(names, {"bash", "read_file", "write_file", "edit_file", "glob", "grep"})
25
26 def test_api_schemas_valid(self):
27 registry = ToolRegistry.default()
28 schemas = registry.api_schemas()
29 self.assertEqual(len(schemas), 6)
30 for schema in schemas:
31 self.assertIn("name", schema)
32 self.assertIn("description", schema)
33 self.assertIn("input_schema", schema)
34
35 def test_get_tool(self):
36 registry = ToolRegistry.default()

Callers

nothing calls this directly

Calls 2

defaultMethod · 0.80
api_schemasMethod · 0.80

Tested by

no test coverage detected