Cleanup on empty cache should return 0
(self)
| 145 | shutil.rmtree(self.temp_dir, ignore_errors=True) |
| 146 | |
| 147 | def test_cleanup_empty_cache(self) -> None: |
| 148 | """Cleanup on empty cache should return 0""" |
| 149 | cleaned = cleanup_stale_locks(self.cache_dir) |
| 150 | self.assertEqual(cleaned, 0) |
| 151 | |
| 152 | def test_cleanup_stale_locks_only(self) -> None: |
| 153 | """Cleanup should only remove stale locks, not active ones""" |
nothing calls this directly
no test coverage detected