MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / test_reader_skips_blank_lines

Function test_reader_skips_blank_lines

tests/test_transcript.py:187–190  ·  view source on GitHub ↗
(tmp_path: Path)

Source from the content-addressed store, hash-verified

185
186
187def test_reader_skips_blank_lines(tmp_path: Path) -> None:
188 path = tmp_path / "x.jsonl"
189 path.write_text('{"a":1}\n\n\n{"b":2}\n', encoding="utf-8")
190 assert list(TranscriptReader(path)) == [{"a": 1}, {"b": 2}]
191
192
193def test_reader_read_all_materializes_list(tmp_path: Path) -> None:

Callers

nothing calls this directly

Calls 1

TranscriptReaderClass · 0.90

Tested by

no test coverage detected