(self)
| 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 /"}) |