From 4bb1e060c0f09438724826a44ae3e8541bdf7a78 Mon Sep 17 00:00:00 2001 From: Feike Steenbergen Date: Wed, 18 Nov 2015 12:00:51 +0100 Subject: [PATCH] Bugfix for patronictl tests --- tests/test_ctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ctl.py b/tests/test_ctl.py index 2263ec18..093882a7 100644 --- a/tests/test_ctl.py +++ b/tests/test_ctl.py @@ -23,7 +23,7 @@ from test_postgresql import MockConnect, psycopg2_connect CONFIG_FILE_PATH = './test-ctl.yaml' - +@patch('patroni.ctl.load_config', Mock(return_value={'dcs': {'scheme': 'etcd', 'hostname': 'localhost', 'port': 4001}})) class TestCtl(unittest.TestCase): @patch.object(Client, 'machines')