1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 09:19:31 +00:00

testsuite: Fix test test_prune_repository

This commit is contained in:
Jonas Borgström 2014-02-26 20:27:08 +01:00
parent 1b42da1fa5
commit 678fb2c845

View file

@ -255,8 +255,8 @@ def test_prune_repository(self):
self.attic('create', self.repository_location + '::test1', src_dir)
self.attic('create', self.repository_location + '::test2', src_dir)
output = self.attic('prune', '-v', '--dry-run', self.repository_location, '--keep-daily=2')
self.assert_in('Keeping archive "test2"', output)
self.assert_in('Would prune "test1"', output)
self.assert_in('Keeping archive: test2', output)
self.assert_in('Would prune: test1', output)
output = self.attic('list', self.repository_location)
self.assert_in('test1', output)
self.assert_in('test2', output)