• Home
  • Raw
  • Download

Lines Matching refs:expect_call

187             job.base_client_job._cleanup_debugdir_files.expect_call()
188 job.base_client_job._cleanup_results_dir.expect_call()
190 self.job._load_state.expect_call()
194 harness.select.expect_call(None,
212 utils.drop_caches.expect_call()
215 os.path.exists.expect_call(download).and_return(False)
216 os.mkdir.expect_call(download)
217 shutil.copyfile.expect_call(mock.is_string_comparator(),
221 job_sysinfo.log_per_reboot_data.expect_call()
223 self.job.record.expect_call('START', None, None)
225 my_harness.run_start.expect_call()
294 self.job._post_record_init.expect_call(
296 self.job.record.expect_call(
321 harness.select.expect_call(which, self.job,
337 os.path.exists.expect_call(tmp_dir).and_return(True)
338 os.path.isdir.expect_call(tmp_dir).and_return(False)
355 os.path.exists.expect_call(tmp_dir).and_return(False)
356 os.mkdir.expect_call(tmp_dir)
357 os.path.isdir.expect_call(tmp_dir).and_return(True)
358 os.path.exists.expect_call(results_dir1).and_return(True)
359 os.path.exists.expect_call(results_dir2).and_return(True)
360 os.path.exists.expect_call(results_dir3).and_return(False)
361 os.path.exists.expect_call(results_dir3).and_return(False)
362 os.mkdir.expect_call(results_dir3)
386 self.job.pkgmgr.get_package_name.expect_call(
388 os.path.exists.expect_call(outputdir).and_return(False)
389 self.job.record.expect_call("START", testname, testname,
391 self.job._runtest.expect_call(testname, "", None, (), {}).and_raises(
393 self.job.record.expect_call("ERROR", testname, testname,
395 self.job.record.expect_call("END ERROR", testname, testname)
396 self.job.harness.run_test_complete.expect_call()
397 utils.drop_caches.expect_call()
421 self.job.pkgmgr.get_package_name.expect_call(
423 os.path.exists.expect_call(outputdir).and_return(False)
424 self.job.record.expect_call("START", testname, testname,
426 self.job._runtest.expect_call(testname, "", None, (), {}).and_raises(
428 self.job.record.expect_call("ERROR", testname, testname, reason)
429 self.job.record.expect_call("END ERROR", testname, testname)
430 self.job.harness.run_test_complete.expect_call()
431 utils.drop_caches.expect_call()
442 self.job.record.expect_call("ABORT", "sub", "reboot.verify",
444 self.job.record.expect_call("END ABORT", "sub", "reboot",
463 job.partition_lib.get_partition_list.expect_call(
466 part_list[i].get_mountpoint.expect_call().and_return(mount_list[i])
468 utils.count_cpus.expect_call().and_return(cpu_count)
492 self.job._record_reboot_failure.expect_call("sub",
510 self.job._record_reboot_failure.expect_call(
549 self.job.pkgmgr.get_package_name.expect_call(
551 os.path.exists.expect_call(outputdir).and_return(False)
555 self.job.record.expect_call("START", testname, testname,
557 self.job._runtest.expect_call(testname, "", timeout, (), {})
558 self.job.record.expect_call("GOOD", testname, testname,
560 self.job.record.expect_call("END GOOD", testname, testname)
561 self.job.harness.run_test_complete.expect_call()
562 utils.drop_caches.expect_call()