From 0f716020a3c6234366905fc43d89c66930a6ac95 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Wed, 10 Sep 2014 14:31:21 -0400 Subject: [PATCH] fix the connection mock that extends the path Signed-off-by: Alfredo Deza --- ceph_deploy/tests/test_mon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ceph_deploy/tests/test_mon.py b/ceph_deploy/tests/test_mon.py index 821f9ee..32592e7 100644 --- a/ceph_deploy/tests/test_mon.py +++ b/ceph_deploy/tests/test_mon.py @@ -15,6 +15,7 @@ def make_fake_conn(receive_returns=None): conn.return_value = conn conn.execute = conn conn.receive = Mock(return_value=receive_returns) + conn.gateway.remote_exec = conn.receive conn.result = Mock(return_value=conn) return conn -- 2.47.3