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

Method test_execute_echo

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

Source from the content-addressed store, hash-verified

43 self.tool = BashTool()
44
45 def test_execute_echo(self):
46 result = self.tool.execute({"command": "echo hello"})
47 self.assertFalse(result.is_error)
48 self.assertIn("hello", result.output)
49
50 def test_permission_blocks_dangerous(self):
51 denial = self.tool.check_permissions({"command": "rm -rf /"})

Callers

nothing calls this directly

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected