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.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=04107b5f596a62ac6209a84cdf17cb83d3425a08;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 1fa608ffde..79cd79d495 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):