test(backups): erase repos between tests
continuous-integration/drone/push Build is failing Details

backups-unlock
Houkime 2023-07-26 16:52:58 +00:00
parent cfa7f4ae59
commit 00317cc7e4
2 changed files with 3 additions and 2 deletions

View File

@ -25,7 +25,8 @@ class NoneBackupper(AbstractBackupper):
def erase_repo(self) -> None:
"""Completely empties the remote"""
raise NotImplementedError
# this one is already empty
pass
def restore_from_backup(self, snapshot_id: str, folders: List[str], verify=True):
"""Restore a target folder using a snapshot"""

View File

@ -66,7 +66,7 @@ def backups(tmpdir):
Backups.init_repo()
yield
Backups.forget_all_snapshots()
Backups.erase_repo()
@pytest.fixture()