• Home
  • Raw
  • Download

Lines Matching refs:expect_call

189             job.base_client_job._cleanup_debugdir_files.expect_call()
190 job.base_client_job._cleanup_results_dir.expect_call()
192 self.job._load_state.expect_call()
196 harness.select.expect_call(None,
214 utils.drop_caches.expect_call()
217 os.path.exists.expect_call(download).and_return(False)
218 os.mkdir.expect_call(download)
219 shutil.copyfile.expect_call(mock.is_string_comparator(),
223 job_sysinfo.log_per_reboot_data.expect_call()
225 self.job.record.expect_call('START', None, None)
227 my_harness.run_start.expect_call()
296 self.job._post_record_init.expect_call(
298 self.job.record.expect_call(
323 harness.select.expect_call(which, self.job,
339 os.path.exists.expect_call(tmp_dir).and_return(True)
340 os.path.isdir.expect_call(tmp_dir).and_return(False)
357 os.path.exists.expect_call(tmp_dir).and_return(False)
358 os.mkdir.expect_call(tmp_dir)
359 os.path.isdir.expect_call(tmp_dir).and_return(True)
360 os.path.exists.expect_call(results_dir1).and_return(True)
361 os.path.exists.expect_call(results_dir2).and_return(True)
362 os.path.exists.expect_call(results_dir3).and_return(False)
363 os.path.exists.expect_call(results_dir3).and_return(False)
364 os.mkdir.expect_call(results_dir3)
388 self.job.pkgmgr.get_package_name.expect_call(
390 os.path.exists.expect_call(outputdir).and_return(False)
391 self.job.record.expect_call("START", testname, testname,
393 self.job._runtest.expect_call(testname, "", None, (), {}).and_raises(
395 self.job.record.expect_call("ERROR", testname, testname,
397 self.job.record.expect_call("END ERROR", testname, testname)
398 self.job.harness.run_test_complete.expect_call()
399 utils.drop_caches.expect_call()
423 self.job.pkgmgr.get_package_name.expect_call(
425 os.path.exists.expect_call(outputdir).and_return(False)
426 self.job.record.expect_call("START", testname, testname,
428 self.job._runtest.expect_call(testname, "", None, (), {}).and_raises(
430 self.job.record.expect_call("ERROR", testname, testname, reason)
431 self.job.record.expect_call("END ERROR", testname, testname)
432 self.job.harness.run_test_complete.expect_call()
433 utils.drop_caches.expect_call()
444 self.job.record.expect_call("ABORT", "sub", "reboot.verify",
446 self.job.record.expect_call("END ABORT", "sub", "reboot",
465 job.partition_lib.get_partition_list.expect_call(
468 part_list[i].get_mountpoint.expect_call().and_return(mount_list[i])
470 utils.count_cpus.expect_call().and_return(cpu_count)
494 self.job._record_reboot_failure.expect_call("sub",
512 self.job._record_reboot_failure.expect_call(
551 self.job.pkgmgr.get_package_name.expect_call(
553 os.path.exists.expect_call(outputdir).and_return(False)
557 self.job.record.expect_call("START", testname, testname,
559 self.job._runtest.expect_call(testname, "", timeout, (), {})
560 self.job.record.expect_call("GOOD", testname, testname,
562 self.job.record.expect_call("END GOOD", testname, testname)
563 self.job.harness.run_test_complete.expect_call()
564 utils.drop_caches.expect_call()