(tmp_path)
| 70 | |
| 71 | |
| 72 | def test_write_lock_can_take_nested_read(tmp_path): |
| 73 | openkb_dir = tmp_path / ".openkb" |
| 74 | |
| 75 | with kb_ingest_lock(openkb_dir): |
| 76 | with kb_read_lock(openkb_dir): |
| 77 | assert (openkb_dir / "ingest.lock").exists() |
| 78 | |
| 79 | |
| 80 | def test_atomic_write_text_replaces_file(tmp_path): |
nothing calls this directly
no test coverage detected