|
@@ -1870,10 +1870,9 @@ class ArchiverTestCase(ArchiverTestCaseBase):
|
|
|
self.cmd('init', '--encryption=repokey', self.repository_location)
|
|
|
self.cmd('create', self.repository_location + '::test1', src_dir)
|
|
|
self.cmd('create', self.repository_location + '::test2', src_dir)
|
|
|
- output = self.cmd('prune', '--list', '--stats', '--dry-run', self.repository_location, '--keep-daily=2')
|
|
|
+ output = self.cmd('prune', '--list', '--dry-run', self.repository_location, '--keep-daily=2')
|
|
|
assert re.search(r'Keeping archive \(rule: daily #1\):\s+test2', output)
|
|
|
assert re.search(r'Would prune:\s+test1', output)
|
|
|
- self.assert_in('Deleted data:', output)
|
|
|
output = self.cmd('list', self.repository_location)
|
|
|
self.assert_in('test1', output)
|
|
|
self.assert_in('test2', output)
|