def setUp(self): super(TestHostSet, self).setUp() self.host = compute_fakes.FakeHost.create_one_host() self.host_mock.get.return_value = self.host self.host_mock.update.return_value = None self.cmd = host.SetHost(self.app, None)
def setUp(self): super(TestHostSet, self).setUp() self.host = compute_fakes.FakeHost.create_one_host() self.cmd = host.SetHost(self.app, None)