1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-02-03 14:01:57 +02:00

fix ptrack

This commit is contained in:
sfalkon 2017-11-07 17:19:22 +03:00
parent 6f4d2f60e1
commit 3ba30a9742

View File

@ -442,7 +442,7 @@ class PtrackBackupTest(ProbackupTest, unittest.TestCase):
# we should die here because exception is what we expect to happen
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:
except Exception as e:
self.assertTrue('FATAL: database "db1" does not exist' in repr(e),
'\n Unexpected Error Message: {0}\n CMD: {1}'.format(repr(e), self.cmd))