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

Function test_writer_after_close_raises

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

Source from the content-addressed store, hash-verified

92
93
94def test_writer_after_close_raises(tmp_path: Path) -> None:
95 w = TranscriptWriter(tmp_path / "x.jsonl")
96 w.close()
97 with pytest.raises(RuntimeError, match="closed"):
98 w.append({"k": 1})
99
100
101def test_writer_dataclass_serialization(tmp_path: Path) -> None:

Callers

nothing calls this directly

Calls 3

closeMethod · 0.95
appendMethod · 0.95
TranscriptWriterClass · 0.90

Tested by

no test coverage detected