(self, tmp_path)
| 245 | assert symlink.resolve() == d.resolve() |
| 246 | |
| 247 | def test_cleanup_lock_create(self, tmp_path): |
| 248 | d = tmp_path.joinpath("test") |
| 249 | d.mkdir() |
| 250 | lockfile = create_cleanup_lock(d) |
| 251 | with pytest.raises(OSError, match="cannot create lockfile in .*"): |
| 252 | create_cleanup_lock(d) |
| 253 | |
| 254 | lockfile.unlink() |
| 255 | |
| 256 | def test_lock_register_cleanup_removal(self, tmp_path: Path) -> None: |
| 257 | lock = create_cleanup_lock(tmp_path) |
nothing calls this directly
no test coverage detected