(tmp_path)
| 61 | |
| 62 | |
| 63 | def test_read_to_write_upgrade_fails(tmp_path): |
| 64 | openkb_dir = tmp_path / ".openkb" |
| 65 | |
| 66 | with kb_read_lock(openkb_dir): |
| 67 | with pytest.raises(RuntimeError, match="Cannot upgrade"): |
| 68 | with kb_ingest_lock(openkb_dir): |
| 69 | pass |
| 70 | |
| 71 | |
| 72 | def test_write_lock_can_take_nested_read(tmp_path): |
nothing calls this directly
no test coverage detected