Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d66bca9 commit cbfb496Copy full SHA for cbfb496
tests/external.py
@@ -52,10 +52,9 @@ def test_external_simple(self):
52
"\n Output: {0} \n CMD: {1}".format(
53
repr(self.output), self.cmd))
54
except ProbackupException as e:
55
- self.assertIn(
56
- 'ERROR: --external-dirs option "{0}": '
57
- 'directory or symbolic link expected\n'.format(file_path),
58
- e.message,
+ self.assertTrue(
+ 'ERROR: --external-dirs option' in e.message and
+ 'directory or symbolic link expected' in e.message,
59
'\n Unexpected Error Message: {0}\n CMD: {1}'.format(
60
repr(e.message), self.cmd))
61
0 commit comments