(store, fake_old_dir)
| 21 | |
| 22 | |
| 23 | def test_clean(store, fake_old_dir): |
| 24 | assert os.path.exists(fake_old_dir) |
| 25 | assert os.path.exists(store.directory) |
| 26 | clean(store) |
| 27 | assert not os.path.exists(fake_old_dir) |
| 28 | assert not os.path.exists(store.directory) |
| 29 | |
| 30 | |
| 31 | def test_clean_idempotent(store): |