Home | History | Annotate | Download | only in bin

Lines Matching refs:god

21         self.god = mock.mock_god(ut=self)
22 self.god.stub_with(job.base_client_job, '_get_environ_autodir',
29 self.god.unstub_all()
59 self.god.stub_function_to_return(job.os, 'mkdir', None)
60 self.god.stub_function_to_return(job.os.path, 'exists', True)
61 self.god.stub_function_to_return(self.job, '_load_state', None)
62 self.god.stub_function_to_return(self.job, 'record', None)
63 self.god.stub_function_to_return(job.shutil, 'copyfile', None)
64 self.god.stub_function_to_return(job.logging_manager,
69 self.god.stub_function_to_return(job.logging_manager,
74 self.god.stub_function_to_return(job.sysinfo, 'sysinfo',
78 self.god.stub_function_to_return(job.harness, 'select', stub_harness())
79 self.god.stub_function_to_return(job.boottool, 'boottool', object())
92 self.god.stub_function_to_return(job.utils, 'drop_caches', None)
114 # make god
115 self.god = mock.mock_god(ut=self)
131 self.god.stub_with(logging_manager, 'configure_logging',
137 self.god.stub_with(logging_manager, 'get_logging_manager',
141 self.god.stub_function(os.path, 'exists')
142 self.god.stub_function(os.path, 'isdir')
143 self.god.stub_function(os, 'makedirs')
144 self.god.stub_function(os, 'mkdir')
145 self.god.stub_function(os, 'remove')
146 self.god.stub_function(shutil, 'rmtree')
147 self.god.stub_function(shutil, 'copyfile')
148 self.god.stub_function(job, 'open')
149 self.god.stub_function(utils, 'system')
150 self.god.stub_function(utils, 'drop_caches')
151 self.god.stub_function(harness, 'select')
152 self.god.stub_function(sysinfo, 'log_per_reboot_data')
154 self.god.stub_class(config, 'config')
155 self.god.stub_class(job.local_host, 'LocalHost')
156 self.god.stub_class(boottool, 'boottool')
157 self.god.stub_class(sysinfo, 'sysinfo')
159 self.god.stub_class_method(job.base_client_job,
161 self.god.stub_class_method(job.base_client_job, '_cleanup_results_dir')
163 self.god.stub_with(job.base_job.job_directory, '_ensure_valid',
169 self.god.unstub_all()
173 self.god.stub_function(self.job, '_load_state')
183 my_harness = self.god.create_mock_class(harness.harness,
194 self.god.stub_function(self.job, 'config_get')
195 self.god.stub_function(self.job, 'config_set')
196 self.god.stub_function(self.job, 'record')
223 self.god.stub_function(utils, 'read_one_line')
255 self.god.check_playback()
264 get_mountpoint = self.god.create_mock_function('get_mountpoint')
295 self.god.stub_function(self.job, '_post_record_init')
296 self.god.stub_function(self.job, 'record')
310 self.god.check_playback()
338 self.god.check_playback()
345 self.god.unstub(self.job, 'config_set')
353 self.god.check_playback()
360 self.god.unstub(self.job, 'config_get')
368 self.god.check_playback()
384 self.god.check_playback()
409 self.god.check_playback()
416 self.god.stub_function(self.job, "setup_dirs")
417 self.god.stub_class(xen, "xen")
431 self.god.check_playback()
439 self.god.stub_function(self.job, "setup_dirs")
440 self.god.stub_class(kernel, "rpm_kernel")
441 self.god.stub_function(kernel, "preprocess_path")
442 self.god.stub_function(self.job.pkgmgr, "fetch_pkg")
443 self.god.stub_function(utils, "get_os_vendor")
462 self.god.check_playback()
470 self.god.stub_function(self.job, "setup_dirs")
471 self.god.stub_class(kernel, "kernel")
472 self.god.stub_function(kernel, "preprocess_path")
487 self.god.check_playback()
495 self.god.stub_function(self.job.pkgmgr, 'get_package_name')
496 self.god.stub_function(self.job, "_runtest")
522 self.god.check_playback()
529 self.god.stub_function(self.job.pkgmgr, 'get_package_name')
530 self.god.stub_function(self.job, "_runtest")
556 self.god.check_playback()
571 self.god.check_playback()
576 self.god.stub_function(job.partition_lib, "get_partition_list")
577 self.god.stub_function(utils, "count_cpus")
603 self.god.check_playback()
612 self.god.stub_function(self.job, "_record_reboot_failure")
620 self.god.check_playback()
630 self.god.stub_function(self.job, "_record_reboot_failure")
638 self.god.check_playback()
643 self.god.stub_function(self.job, "_check_post_reboot")
655 self.god.check_playback()
660 self.god.stub_function(self.job, "_check_post_reboot")
665 self.god.stub_function(utils, "running_os_ident")
671 self.god.stub_function(utils, "running_os_full_version")
683 self.god.check_playback()
688 self.god.stub_function(self.job, "_record_reboot_failure")
693 self.god.stub_function(utils, "running_os_ident")
705 self.god.check_playback()
725 self.god.stub_function(self.job.pkgmgr, 'get_package_name')
726 self.god.stub_function(self.job, "_runtest")
754 self.god.check_playback()