(path: Path, events: list[dict])
| 6 | |
| 7 | |
| 8 | def _write_jsonl(path: Path, events: list[dict]) -> None: |
| 9 | path.parent.mkdir(parents=True, exist_ok=True) |
| 10 | with path.open("w", encoding="utf-8") as f: |
| 11 | for ev in events: |
| 12 | f.write(json.dumps(ev, ensure_ascii=False) + "\n") |
| 13 | |
| 14 | |
| 15 | def test_mcpclient_replay_applies_fs_write_side_effect(tmp_path: Path): |
no test coverage detected