(self, cmd)
| 163 | |
| 164 | @pytest.mark.asyncio |
| 165 | async def test_tool_raw_output(self, cmd): |
| 166 | tm = _make_tool_manager() |
| 167 | with patch("builtins.print") as mock_print: |
| 168 | result = await cmd.execute( |
| 169 | tool="echo", tool_manager=tm, raw=True |
| 170 | ) |
| 171 | assert result.success is True |
| 172 | # Raw mode: json.dumps without indent |
| 173 | printed = mock_print.call_args[0][0] |
| 174 | assert "\n" not in printed # compact JSON |
| 175 | |
| 176 | |
| 177 | # --------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected