(self, tmp_path)
| 138 | assert replaced["content"][0]["content"] == "short" |
| 139 | |
| 140 | def test_write_raw(self, tmp_path): |
| 141 | storage = SessionStorage(sessions_dir=tmp_path) |
| 142 | storage.init_metadata() |
| 143 | storage.write_raw({"custom": "data"}) |
| 144 | storage.flush() |
| 145 | |
| 146 | entries = storage.read_transcript() |
| 147 | assert len(entries) == 1 |
| 148 | assert entries[0]["custom"] == "data" |
| 149 | |
| 150 | def test_delete_session(self, tmp_path): |
| 151 | storage = SessionStorage(sessions_dir=tmp_path) |
nothing calls this directly
no test coverage detected