diff --git a/tests/config_test.py b/tests/config_test.py index b1a0f929..1ae563c7 100644 --- a/tests/config_test.py +++ b/tests/config_test.py @@ -39,8 +39,8 @@ def test_remove_instance_config(self): backup_dir, 'node', node, backup_type='page') self.assertEqual( 1, 0, - "Expecting Error because pg_probackup.conf is missing. " - ".\n Output: {0} \n CMD: {1}".format( + "Expecting Error because pg_probackup.conf is missing" + "\n Output: {0} \n CMD: {1}".format( repr(self.output), self.cmd)) except ProbackupException as e: self.assertIn( @@ -85,8 +85,8 @@ def test_corrupt_backup_content(self): self.validate_pb(backup_dir, 'node') self.assertEqual( 1, 0, - "Expecting Error because pg_probackup.conf is missing. " - ".\n Output: {0} \n CMD: {1}".format( + "Expecting Error because backup_content.control of the first backup was corrupted intentionally" + "\n Output: {0} \n CMD: {1}".format( repr(self.output), self.cmd)) except ProbackupException as e: self.assertIn(