MCPcopy Create free account
hub / github.com/NVIDIA/SkillSpector / test_empty_raises

Method test_empty_raises

tests/unit/test_agent_cli.py:349–351  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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'

Callers

nothing calls this directly

Calls 1

_parse_codex_outputFunction · 0.90

Tested by

no test coverage detected