mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-12-02 09:53:24 +02:00
fix ptrack
This commit is contained in:
parent
9804672a10
commit
7323456b0d
@ -443,8 +443,8 @@ class PtrackBackupTest(ProbackupTest, unittest.TestCase):
|
||||
self.assertEqual(1, 0, "Expecting Error because we are connecting to deleted database.\n Output: {0} \n CMD: {1}".format(
|
||||
repr(self.output), self.cmd))
|
||||
except QueryException as e:
|
||||
self.assertTrue('FATAL: database "db1" does not exist' in e.message,
|
||||
'\n Unexpected Error Message: {0}\n CMD: {1}'.format(repr(e.message), self.cmd))
|
||||
self.assertTrue('FATAL: database "db1" does not exist' in e,
|
||||
'\n Unexpected Error Message: {0}\n CMD: {1}'.format(repr(e), self.cmd))
|
||||
|
||||
# Clean after yourself
|
||||
self.del_test_dir(module_name, fname)
|
||||
|
Loading…
Reference in New Issue
Block a user