Lines Matching refs:host

21         self.host = self.god.create_mock_class(hosts.RemoteHost, "host")
22 self.host.hostname = "hostname"
23 self.host.job = self.god.create_mock_class(server_job.server_job,
25 self.host.job.run_test_cleanup = True
26 self.host.job.last_boot_tag = 'Autotest'
27 self.host.job.sysinfo = self.god.create_mock_class(
29 self.host.job.profilers = self.god.create_mock_class(
31 self.host.job.profilers.add_log = {}
32 self.host.job.tmpdir = "/job/tmp"
33 self.host.job.default_profile_only = False
34 self.host.job.args = []
35 self.host.job.record = lambda *args: None
73 self.base_autotest = autotest.BaseAutotest(self.host)
74 self.base_autotest.job = self.host.job
101 self.host.wait_up.expect_call(timeout=30)
102 self.host.setup.expect_call()
103 self.host.get_autodir.expect_call().and_return("autodir")
104 self.host.set_autodir.expect_call("autodir")
105 self.host.run.expect_call('mkdir -p autodir')
106 self.host.run.expect_call('rm -rf autodir/results/*',
120 self.host.run.expect_call('rm -f "autodir/packages.checksum"')
125 self.host.send_file.expect_call('source_material', 'autodir',
143 self.base_autotest._install_using_send_file.expect_call(self.host,
158 run_function=self.host.run, run_function_dargs=dict(timeout=600))
162 self.host.run.expect_call(cmd)
181 self.base_autotest.install.expect_call(self.host, use_packaging=True)
182 self.host.wait_up.expect_call(timeout=30)
184 run_obj = autotest._Run.expect_new(self.host, '.', None, False, False)
201 self.host.run.expect_call(cmd, ignore_status=True)
219 self.host.job.preprocess_client_state.expect_call().and_return(
221 self.host.send_file.expect_call(
225 self.host.send_file.expect_call("temp", run_obj.remote_control_file)
239 def mock_get_client_autodir_paths(cls, host): argument
246 (self.host.run.expect_call(command)
252 self.host.get_autodir.expect_call().and_return(None)
254 self.host.run.expect_call('test -x /another/path/bin/autotest')
255 self.host.run.expect_call('test -w /another/path')
257 autodir = autotest.Autotest.get_installed_autodir(self.host)
263 self.host.get_autodir.expect_call().and_return(None)
267 self.host.run.expect_call('mkdir -p /another/path')
268 self.host.run.expect_call('test -w /another/path')
270 install_dir = autotest.Autotest.get_install_dir(self.host)
275 collector = autotest.log_collector.expect_new(self.host, '', '')
276 logger = autotest.client_logger(self.host, '', '')
284 collector = autotest.log_collector.expect_new(self.host, '', '')
285 logger = autotest.client_logger(self.host, '', '')
287 self.host.run.expect_call('echo A > /autotest/fifo2').and_raises(
294 collector = autotest.log_collector.expect_new(self.host, '', '')
295 logger = autotest.client_logger(self.host, '', '')
307 self.host.run.expect_call('echo B > /autotest/fifo3').and_raises(