(self, cmd, ctx)
| 178 | class TestAttachClear: |
| 179 | @pytest.mark.asyncio |
| 180 | async def test_clear_empty(self, cmd, ctx): |
| 181 | with patch("chuk_term.ui.output"): |
| 182 | result = await cmd.execute(chat_context=ctx, args="clear") |
| 183 | |
| 184 | assert result.success |
| 185 | assert "nothing" in result.output.lower() or "0" in result.output.lower() |
| 186 | |
| 187 | @pytest.mark.asyncio |
| 188 | async def test_clear_with_staged(self, cmd, ctx, tmp_path): |