From: Zack Cerza Date: Fri, 22 May 2015 21:38:35 +0000 (-0600) Subject: Create fake Remotes in a more standard way X-Git-Tag: 1.1.0~929^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F499%2Fhead;p=teuthology.git Create fake Remotes in a more standard way This avoids them wanting to run 'hostname --fqdn' on remote nodes that don't exist Signed-off-by: Zack Cerza --- diff --git a/teuthology/test/task/test_ansible.py b/teuthology/test/task/test_ansible.py index 1fa608ffd..79cd79d49 100644 --- a/teuthology/test/task/test_ansible.py +++ b/teuthology/test/task/test_ansible.py @@ -19,8 +19,8 @@ class TestAnsibleTask(TestTask): def setup(self): self.ctx = FakeNamespace() self.ctx.cluster = Cluster() - self.ctx.cluster.add(Remote('remote1'), ['role1']) - self.ctx.cluster.add(Remote('remote2'), ['role2']) + self.ctx.cluster.add(Remote('user@remote1'), ['role1']) + self.ctx.cluster.add(Remote('user@remote2'), ['role2']) self.ctx.config = dict() def test_setup(self):