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

Function test_writer_close_is_idempotent

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

Source from the content-addressed store, hash-verified

86
87
88def test_writer_close_is_idempotent(tmp_path: Path) -> None:
89 w = TranscriptWriter(tmp_path / "x.jsonl")
90 w.close()
91 w.close() # second call must not raise
92
93
94def test_writer_after_close_raises(tmp_path: Path) -> None:

Callers

nothing calls this directly

Calls 2

closeMethod · 0.95
TranscriptWriterClass · 0.90

Tested by

no test coverage detected