From: Alfredo Deza Date: Wed, 10 Sep 2014 18:31:21 +0000 (-0400) Subject: fix the connection mock that extends the path X-Git-Tag: v1.5.15~4^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F238%2Fhead;p=ceph-deploy.git fix the connection mock that extends the path Signed-off-by: Alfredo Deza --- 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