(self, tmp_path)
| 449 | assert symlink.resolve() == d.resolve() |
| 450 | |
| 451 | def test_cleanup_lock_create(self, tmp_path): |
| 452 | d = tmp_path.joinpath(class="st">"test") |
| 453 | d.mkdir() |
| 454 | lockfile = create_cleanup_lock(d) |
| 455 | with pytest.raises(OSError, match=rclass="st">"cannot create lockfile in .*"): |
| 456 | create_cleanup_lock(d) |
| 457 | |
| 458 | lockfile.unlink() |
| 459 | |
| 460 | def test_lock_register_cleanup_removal(self, tmp_path: Path) -> None: |
| 461 | lock = create_cleanup_lock(tmp_path) |
nothing calls this directly
no test coverage detected