(self)
| 703 | assert _extract_error_message(None) is None |
| 704 | |
| 705 | def test_content_blocks(self): |
| 706 | blocks = [{"type": "text", "text": "error details"}] |
| 707 | assert _extract_error_message(blocks) == "error details" |
| 708 | |
| 709 | def test_ctp_result_with_error(self): |
| 710 | """Extract error from CTP ToolExecutionResult.""" |
nothing calls this directly
no test coverage detected