Test read_lock helper function
(self)
| 168 | self.assertIsNotNone(lock) |
| 169 | |
| 170 | def test_read_lock_helper(self) -> None: |
| 171 | """Test read_lock helper function""" |
| 172 | test_file = Path(self.temp_dir) / "data.txt" |
| 173 | test_file.touch() |
| 174 | |
| 175 | with read_lock(test_file, timeout=1.0) as lock: |
| 176 | self.assertIsNotNone(lock) |
| 177 | |
| 178 | def test_read_lock_allows_concurrent(self) -> None: |
| 179 | """Read locks should allow concurrent access (same PID = re-entrant).""" |
nothing calls this directly
no test coverage detected