(self, tmp_path)
| 290 | print(a, b) |
| 291 | |
| 292 | def test_cleanup_locked(self, tmp_path): |
| 293 | p = make_numbered_dir(root=tmp_path, prefix=self.PREFIX) |
| 294 | |
| 295 | create_cleanup_lock(p) |
| 296 | |
| 297 | assert not pathlib.ensure_deletable( |
| 298 | p, consider_lock_dead_if_created_before=p.stat().st_mtime - 1 |
| 299 | ) |
| 300 | assert pathlib.ensure_deletable( |
| 301 | p, consider_lock_dead_if_created_before=p.stat().st_mtime + 1 |
| 302 | ) |
| 303 | |
| 304 | def test_cleanup_ignores_symlink(self, tmp_path): |
| 305 | the_symlink = tmp_path / (self.PREFIX + "current") |
nothing calls this directly
no test coverage detected