Bugfix for patronictl tests

This commit is contained in:
Feike Steenbergen
2015-11-18 12:00:51 +01:00
parent ca4d9eaaf9
commit 4bb1e060c0
+1 -1
View File
@@ -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')