1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-03-05 16:07:35 +02:00

tests: fix test_no_control_file() which was broken by 94d7c4bb3b8b

This commit is contained in:
Grigory Smolkin 2019-01-15 16:46:29 +03:00
parent 8894d9f9a8
commit 71172fb6de

View File

@ -133,7 +133,7 @@ class OptionTest(ProbackupTest, unittest.TestCase):
self.assertIn(
'Control file "{0}" doesn\'t exist'.format(file),
self.show_pb(backup_dir, 'node', as_text=True))
self.show_pb(backup_dir, 'node', as_text=True, as_json=False))
# Clean after yourself
self.del_test_dir(module_name, fname)