Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b0a80c1

Browse files
committed
tests: minor update
1 parent 74e6a5f commit b0a80c1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/backup.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2220,6 +2220,14 @@ def test_issue_132_1(self):
22202220
output = self.restore_node(
22212221
backup_dir, 'node', node, backup_id=full_id, options=['--force'])
22222222

2223+
self.assertIn(
2224+
'WARNING: Backup {0} has status: CORRUPT'.format(full_id),
2225+
output)
2226+
2227+
self.assertIn(
2228+
'WARNING: Backup {0} is corrupt.'.format(full_id),
2229+
output)
2230+
22232231
self.assertIn(
22242232
'WARNING: Backup {0} is not valid, restore is forced'.format(full_id),
22252233
output)

0 commit comments

Comments
 (0)