(tmp_path)
| 25 | |
| 26 | |
| 27 | def test_read_lock_is_reentrant(tmp_path): |
| 28 | openkb_dir = tmp_path / ".openkb" |
| 29 | |
| 30 | with kb_read_lock(openkb_dir): |
| 31 | with kb_read_lock(openkb_dir): |
| 32 | assert (openkb_dir / "ingest.lock").exists() |
| 33 | |
| 34 | |
| 35 | def test_read_locks_do_not_block_each_other_in_process(tmp_path): |
nothing calls this directly
no test coverage detected