From: Alfredo Deza Date: Wed, 17 Jul 2013 19:49:29 +0000 (-0400) Subject: use the new fakes module X-Git-Tag: v1.2~31^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=391ce00c48d6e1fafa029ddab36a87812c2fccec;p=ceph-deploy.git use the new fakes module --- diff --git a/ceph_deploy/test/test_cli_mon.py b/ceph_deploy/test/test_cli_mon.py index 16eb165..6df9096 100644 --- a/ceph_deploy/test/test_cli_mon.py +++ b/ceph_deploy/test/test_cli_mon.py @@ -8,9 +8,7 @@ from ..cli import main from .. import mon from .directory import directory - -def fake_getaddrinfo(*a, **kw): - return [[0,0,0,0,'host1']] +from .fakes import fake_getaddrinfo def test_help(tmpdir, cli): with cli(