MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / test_write_lock_is_reentrant

Function test_write_lock_is_reentrant

tests/test_locks.py:19–24  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

17
18
19def 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
27def test_read_lock_is_reentrant(tmp_path):

Callers

nothing calls this directly

Calls 1

kb_ingest_lockFunction · 0.90

Tested by

no test coverage detected