diff --git a/tests/test_ctl.py b/tests/test_ctl.py index 46759ff7..239058a4 100644 --- a/tests/test_ctl.py +++ b/tests/test_ctl.py @@ -32,7 +32,7 @@ def test_rw_config(): @patch('patroni.ctl.load_config', - Mock(return_value={'scope': 'alpha', 'postgresql': {'data_dir': '.', 'parameters': {}, 'retry_timeout': 5}, + Mock(return_value={'scope': 'alpha', 'postgresql': {'data_dir': '.', 'pgpass': './pgpass', 'parameters': {}, 'retry_timeout': 5}, 'restapi': {'listen': '::', 'certfile': 'a'}, 'etcd': {'host': 'localhost:2379'}})) class TestCtl(unittest.TestCase):