Test write_lock helper function
(self)
| 160 | self.assertFalse(db.is_held(str(lock_path))) |
| 161 | |
| 162 | def test_write_lock_helper(self) -> None: |
| 163 | """Test write_lock helper function""" |
| 164 | test_file = Path(self.temp_dir) / "data.txt" |
| 165 | test_file.touch() |
| 166 | |
| 167 | with write_lock(test_file, timeout=1.0) as lock: |
| 168 | self.assertIsNotNone(lock) |
| 169 | |
| 170 | def test_read_lock_helper(self) -> None: |
| 171 | """Test read_lock helper function""" |
nothing calls this directly
no test coverage detected