Skip to content

Commit c7dee40

Browse files
committed
tests: windows support for test_restore_with_tablespace_mapping_1
1 parent 361d408 commit c7dee40

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/restore_test.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -833,10 +833,9 @@ def test_restore_with_tablespace_mapping_1(self):
833833
"Output: {0} \n CMD: {1}".format(
834834
repr(self.output), self.cmd))
835835
except ProbackupException as e:
836-
self.assertEqual(
836+
self.assertIn(
837+
'ERROR: restore destination is not empty: "{0}"'.format(node.data_dir),
837838
e.message,
838-
'ERROR: restore destination is not empty: "{0}"\n'.format(
839-
node.data_dir),
840839
'\n Unexpected Error Message: {0}\n CMD: {1}'.format(
841840
repr(e.message), self.cmd))
842841

0 commit comments

Comments
 (0)