(self)
| 347 | _parse_codex_output('{"type": "done"}\n') |
| 348 | |
| 349 | def test_empty_raises(self) -> None: |
| 350 | with pytest.raises(AgentCLIError, match="no assistant message"): |
| 351 | _parse_codex_output("") |
| 352 | |
| 353 | def test_skips_invalid_json_lines(self) -> None: |
| 354 | jsonl = 'not-json\n{"type": "message", "content": "ok"}\n' |
nothing calls this directly
no test coverage detected