From: Alfredo Deza Date: Wed, 17 Jul 2013 19:48:10 +0000 (-0400) Subject: create a fakes file X-Git-Tag: v1.2~31^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5e75c849031062abd6b7e30be0841d07fe0f5961;p=ceph-deploy.git create a fakes file --- diff --git a/ceph_deploy/test/fakes.py b/ceph_deploy/test/fakes.py new file mode 100644 index 0000000..a96bcf7 --- /dev/null +++ b/ceph_deploy/test/fakes.py @@ -0,0 +1,5 @@ + + +def fake_getaddrinfo(*a, **kw): + return_host = kw.get('return_host', 'host1') + return [[0,0,0,0, return_host]]