test(backups): reenable snapshot testing

restic-rewrite-api
Houkime 2023-02-22 10:25:51 +00:00
parent b3633d1a96
commit 8a1b3be9fa
1 changed files with 3 additions and 3 deletions

View File

@ -98,6 +98,6 @@ def test_no_repo(memory_backup):
assert memory_backup.backuper.get_snapshots("") == []
# def test_one_snapshot(backups, dummy_service):
# backups.back_up(dummy_service)
# assert len(backups.get_snapshots(dummy_service)) == 1
def test_one_snapshot(backups, dummy_service):
backups.back_up(dummy_service)
assert len(backups.get_snapshots(dummy_service)) == 1