mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 17:57:59 +00:00
testsuite: Fix test test_prune_repository
This commit is contained in:
parent
1b42da1fa5
commit
678fb2c845
1 changed files with 2 additions and 2 deletions
|
@ -255,8 +255,8 @@ def test_prune_repository(self):
|
||||||
self.attic('create', self.repository_location + '::test1', src_dir)
|
self.attic('create', self.repository_location + '::test1', src_dir)
|
||||||
self.attic('create', self.repository_location + '::test2', src_dir)
|
self.attic('create', self.repository_location + '::test2', src_dir)
|
||||||
output = self.attic('prune', '-v', '--dry-run', self.repository_location, '--keep-daily=2')
|
output = self.attic('prune', '-v', '--dry-run', self.repository_location, '--keep-daily=2')
|
||||||
self.assert_in('Keeping archive "test2"', output)
|
self.assert_in('Keeping archive: test2', output)
|
||||||
self.assert_in('Would prune "test1"', output)
|
self.assert_in('Would prune: test1', output)
|
||||||
output = self.attic('list', self.repository_location)
|
output = self.attic('list', self.repository_location)
|
||||||
self.assert_in('test1', output)
|
self.assert_in('test1', output)
|
||||||
self.assert_in('test2', output)
|
self.assert_in('test2', output)
|
||||||
|
|
Loading…
Reference in a new issue