Lines Matching refs:host

40                 update_url, host=self.mox.CreateMockAnything())
43 self.mox.StubOutWithMock(updater.host, 'get_release_version')
44 updater.host.get_release_version().MultipleTimes().AndReturn(
52 self.mox.StubOutWithMock(updater.host, 'get_release_version')
53 updater.host.get_release_version().MultipleTimes().AndReturn(
61 self.mox.StubOutWithMock(updater.host, 'get_release_version')
62 updater.host.get_release_version().MultipleTimes().AndReturn('1111.0.0')
69 self.mox.StubOutWithMock(updater.host, 'get_release_version')
70 updater.host.get_release_version().MultipleTimes().AndReturn(
91 update_url, host=self.mox.CreateMockAnything())
94 self.mox.StubOutWithMock(updater.host, 'get_release_version')
95 updater.host.get_release_version().MultipleTimes().AndReturn(
103 self.mox.StubOutWithMock(updater.host, 'get_release_version')
104 updater.host.get_release_version().MultipleTimes().AndReturn(
112 self.mox.StubOutWithMock(updater.host, 'get_release_version')
113 updater.host.get_release_version().MultipleTimes().AndReturn('2222.0.0')
120 self.mox.StubOutWithMock(updater.host, 'get_release_version')
121 updater.host.get_release_version().MultipleTimes().AndReturn(
142 update_url, host=self.mox.CreateMockAnything())
145 self.mox.StubOutWithMock(updater.host, 'get_release_version')
146 updater.host.get_release_version().MultipleTimes().AndReturn(
154 self.mox.StubOutWithMock(updater.host, 'get_release_version')
155 updater.host.get_release_version().MultipleTimes().AndReturn(
163 self.mox.StubOutWithMock(updater.host, 'get_release_version')
164 updater.host.get_release_version().MultipleTimes().AndReturn('3333.0.0')
171 self.mox.StubOutWithMock(updater.host, 'get_release_version')
172 updater.host.get_release_version().MultipleTimes().AndReturn(
193 update_url, host=self.mox.CreateMockAnything())
196 self.mox.StubOutWithMock(updater.host, 'get_release_version')
197 updater.host.get_release_version().MultipleTimes().AndReturn(
205 self.mox.StubOutWithMock(updater.host, 'get_release_version')
206 updater.host.get_release_version().MultipleTimes().AndReturn(
214 self.mox.StubOutWithMock(updater.host, 'get_release_version')
215 updater.host.get_release_version().MultipleTimes().AndReturn('4444.0.0')
222 self.mox.StubOutWithMock(updater.host, 'get_release_version')
223 updater.host.get_release_version().MultipleTimes().AndReturn(
244 update_url, host=self.mox.CreateMockAnything())
247 self.mox.StubOutWithMock(updater.host, 'get_release_version')
248 updater.host.get_release_version().MultipleTimes().AndReturn(
256 self.mox.StubOutWithMock(updater.host, 'get_release_version')
257 updater.host.get_release_version().MultipleTimes().AndReturn(
265 self.mox.StubOutWithMock(updater.host, 'get_release_version')
266 updater.host.get_release_version().MultipleTimes().AndReturn('4444.0.0')
273 self.mox.StubOutWithMock(updater.host, 'get_release_version')
274 updater.host.get_release_version().MultipleTimes().AndReturn(
295 update_url, host=self.mox.CreateMockAnything())
298 self.mox.StubOutWithMock(updater.host, 'get_release_version')
299 updater.host.get_release_version().MultipleTimes().AndReturn(
307 self.mox.StubOutWithMock(updater.host, 'get_release_version')
308 updater.host.get_release_version().MultipleTimes().AndReturn(
316 self.mox.StubOutWithMock(updater.host, 'get_release_version')
317 updater.host.get_release_version().MultipleTimes().AndReturn('4444.0.0')
324 self.mox.StubOutWithMock(updater.host, 'get_release_version')
325 updater.host.get_release_version().MultipleTimes().AndReturn(
346 update_url, host=self.mox.CreateMockAnything())
349 self.mox.StubOutWithMock(updater.host, 'get_release_version')
350 updater.host.get_release_version().MultipleTimes().AndReturn(
358 self.mox.StubOutWithMock(updater.host, 'get_release_version')
359 updater.host.get_release_version().MultipleTimes().AndReturn(
367 self.mox.StubOutWithMock(updater.host, 'get_release_version')
368 updater.host.get_release_version().MultipleTimes().AndReturn('7298.0.0')
375 self.mox.StubOutWithMock(updater.host, 'get_release_version')
376 updater.host.get_release_version().MultipleTimes().AndReturn(
387 host = self.mox.CreateMockAnything()
388 self.mox.StubOutWithMock(host, 'run')
389 host.hostname = 'test_host'
394 updater = autoupdater.ChromiumOSUpdater(update_url, host=host)
397 host.run(expected_cmd)
400 host.run(expected_cmd).AndRaise(
404 host.run(expected_cmd).AndRaise(
411 host.run(expected_cmd).AndRaise(
418 host.run(expected_cmd).AndRaise(
491 host = self.mox.CreateMockAnything()
493 host.hostname = 'test_host'
499 updater = autoupdater.ChromiumOSUpdater(update_url, host=host)
502 updater.host.get_release_version().AndReturn('1234.0.0')
515 updater.host.get_release_version().AndReturn('5775.0.0')
525 updater.host.get_release_version().AndReturn('5775.0.0')