(tmp_path)
| 17 | |
| 18 | |
| 19 | def test_write_lock_is_reentrant(tmp_path): |
| 20 | openkb_dir = tmp_path / ".openkb" |
| 21 | |
| 22 | with kb_ingest_lock(openkb_dir): |
| 23 | with kb_ingest_lock(openkb_dir): |
| 24 | assert (openkb_dir / "ingest.lock").exists() |
| 25 | |
| 26 | |
| 27 | def test_read_lock_is_reentrant(tmp_path): |
nothing calls this directly
no test coverage detected