Searched refs:StubOutWithMock (Results 1 - 25 of 41) sorted by relevance

12

/external/autotest/site_utils/
H A Dtest_push_unittest.py43 self.mox.StubOutWithMock(urllib2, 'urlopen')
46 self.mox.StubOutWithMock(test_push, 'get_default_build')
52 self.mox.StubOutWithMock(test_push, 'check_dut_image')
56 self.mox.StubOutWithMock(test_push, 'do_run_suite')
61 self.mox.StubOutWithMock(site_utils, 'get_test_views_from_tko')
62 self.mox.StubOutWithMock(frontend_wrappers, 'RetryingTKO')
132 self.mox.StubOutWithMock(reporting.Reporter, 'find_issue_by_marker')
137 self.mox.StubOutWithMock(reporting.Reporter, 'modify_bug_report')
151 self.mox.StubOutWithMock(reporting.Reporter, 'find_issue_by_marker')
179 self.mox.StubOutWithMock(reportin
[all...]
H A Dserver_manager_unittest.py86 self.mox.StubOutWithMock(server_manager_utils, 'check_server')
87 self.mox.StubOutWithMock(server_manager_utils, 'warn_missing_role')
88 self.mox.StubOutWithMock(server_manager_utils, 'use_server_db')
89 self.mox.StubOutWithMock(server_models.Server, 'get_role_names')
90 self.mox.StubOutWithMock(server_models.Server.objects, 'create')
91 self.mox.StubOutWithMock(server_models.Server.objects, 'filter')
92 self.mox.StubOutWithMock(server_models.Server.objects, 'get')
93 self.mox.StubOutWithMock(server_models.ServerRole, 'delete')
94 self.mox.StubOutWithMock(server_models.ServerRole.objects, 'create')
95 self.mox.StubOutWithMock(server_model
[all...]
H A Dtest_runner_utils_unittest.py114 self.mox.StubOutWithMock(os, 'makedirs')
115 self.mox.StubOutWithMock(utils, 'write_keyval')
116 self.mox.StubOutWithMock(subprocess, 'Popen')
191 self.mox.StubOutWithMock(test_runner_utils, 'fetch_local_suite')
198 self.mox.StubOutWithMock(test_runner_utils, 'run_job')
199 self.mox.StubOutWithMock(test_runner_utils, 'run_provisioning_job')
200 self.mox.StubOutWithMock(test_runner_utils, '_auto_detect_labels')
/external/autotest/site_utils/suite_scheduler/
H A Dmanifest_versions_unittest.py75 self.mox.StubOutWithMock(self.mv, '_Clone')
76 self.mox.StubOutWithMock(time, 'sleep')
84 self.mox.StubOutWithMock(self.mv, '_Clone')
85 self.mox.StubOutWithMock(time, 'sleep')
98 self.mox.StubOutWithMock(self.mv, '_Clone')
99 self.mox.StubOutWithMock(time, 'sleep')
124 self.mox.StubOutWithMock(self.mv, '_ExpandGlobMinusPrefix')
133 self.mox.StubOutWithMock(manifest_versions, '_SystemOutput')
146 self.mox.StubOutWithMock(manifest_versions, '_SystemOutput')
167 self.mox.StubOutWithMock(manifest_version
[all...]
H A Ddeduping_scheduler_unittest.py46 self.mox.StubOutWithMock(site_utils, 'check_lab_status')
253 self.mox.StubOutWithMock(reporting.Reporter, '__init__')
254 self.mox.StubOutWithMock(reporting.Reporter, '_create_bug_report')
255 self.mox.StubOutWithMock(reporting.Reporter, '_check_tracker')
256 self.mox.StubOutWithMock(reporting.Reporter, 'find_issue_by_marker')
257 self.mox.StubOutWithMock(site_utils, 'get_sheriffs')
H A Ddriver_unittest.py55 self.mox.StubOutWithMock(timed_event.Nightly, 'CreateFromConfig')
56 self.mox.StubOutWithMock(timed_event.Weekly, 'CreateFromConfig')
57 self.mox.StubOutWithMock(build_event.NewBuild, 'CreateFromConfig')
70 self.mox.StubOutWithMock(task.Task, 'CreateFromConfigSection')
146 self.mox.StubOutWithMock(task.Task, 'CreateFromConfigSection')
/external/autotest/client/common_lib/cros/
H A Dautoupdater_unittest.py43 self.mox.StubOutWithMock(updater.host, 'get_release_version')
52 self.mox.StubOutWithMock(updater.host, 'get_release_version')
61 self.mox.StubOutWithMock(updater.host, 'get_release_version')
69 self.mox.StubOutWithMock(updater.host, 'get_release_version')
94 self.mox.StubOutWithMock(updater.host, 'get_release_version')
103 self.mox.StubOutWithMock(updater.host, 'get_release_version')
112 self.mox.StubOutWithMock(updater.host, 'get_release_version')
120 self.mox.StubOutWithMock(updater.host, 'get_release_version')
145 self.mox.StubOutWithMock(updater.host, 'get_release_version')
154 self.mox.StubOutWithMock(update
[all...]
H A Ddev_server_unittest.py56 self.mox.StubOutWithMock(urllib2, 'urlopen')
63 self.mox.StubOutWithMock(dev_server, '_get_dev_server_list')
64 self.mox.StubOutWithMock(dev_server.DevServer, 'devserver_healthy')
76 self.mox.StubOutWithMock(dev_server, '_get_dev_server_list')
99 self.mox.StubOutWithMock(dev_server, '_get_dev_server_list')
122 self.mox.StubOutWithMock(dev_server.ImageServer, 'servers')
123 self.mox.StubOutWithMock(dev_server.DevServer, 'devserver_healthy')
163 self.mox.StubOutWithMock(dev_server.ImageServer, '_finish_download')
201 self.mox.StubOutWithMock(time, 'sleep')
326 self.mox.StubOutWithMock(dev_serve
[all...]
H A Dretry_unittest.py38 self.mox.StubOutWithMock(time, 'sleep')
53 self.mox.StubOutWithMock(time, 'sleep')
66 self.mox.StubOutWithMock(time, 'sleep')
78 self.mox.StubOutWithMock(time, 'sleep')
/external/chromium-trace/catapult/telemetry/third_party/mox3/mox3/tests/
H A Dmox_helper.py44 self.mox.StubOutWithMock(os, 'stat')
55 self.mox.StubOutWithMock(os, 'listdir')
61 self.mox.StubOutWithMock(os, 'listdir')
66 self.mox.StubOutWithMock(os, 'listdir')
76 self.mox.StubOutWithMock(os, 'stat')
H A Dtest_mox.py1708 self.mox.StubOutWithMock(test_obj, 'OtherValidCall')
1724 self.mox.StubOutWithMock(TestClass, 'OtherValidCall')
1736 self.mox.StubOutWithMock(
1751 self.mox.StubOutWithMock(TestClass, 'OptionalArgs')
1763 self.mox.StubOutWithMock(TestClass, 'OtherValidCall')
1776 self.mox.StubOutWithMock(TestClass, 'OtherValidCall')
1790 self.mox.StubOutWithMock(mox_helper.ExampleClass, 'NamedParams')
1802 self.mox.StubOutWithMock(mox_helper.ExampleClass, 'TestMethod')
1813 self.mox.StubOutWithMock(mox_helper.ExampleClass, 'SpecialArgs')
1837 self.mox.StubOutWithMock(mox_helpe
[all...]
/external/chromium-trace/catapult/third_party/mox3/mox3/tests/
H A Dmox_helper.py44 self.mox.StubOutWithMock(os, 'stat')
55 self.mox.StubOutWithMock(os, 'listdir')
61 self.mox.StubOutWithMock(os, 'listdir')
66 self.mox.StubOutWithMock(os, 'listdir')
76 self.mox.StubOutWithMock(os, 'stat')
H A Dtest_mox.py1708 self.mox.StubOutWithMock(test_obj, 'OtherValidCall')
1724 self.mox.StubOutWithMock(TestClass, 'OtherValidCall')
1736 self.mox.StubOutWithMock(
1751 self.mox.StubOutWithMock(TestClass, 'OptionalArgs')
1763 self.mox.StubOutWithMock(TestClass, 'OtherValidCall')
1776 self.mox.StubOutWithMock(TestClass, 'OtherValidCall')
1790 self.mox.StubOutWithMock(mox_helper.ExampleClass, 'NamedParams')
1802 self.mox.StubOutWithMock(mox_helper.ExampleClass, 'TestMethod')
1813 self.mox.StubOutWithMock(mox_helper.ExampleClass, 'SpecialArgs')
1837 self.mox.StubOutWithMock(mox_helpe
[all...]
/external/autotest/client/common_lib/cros/fake_device_server/
H A Dresource_method_unittest.py36 self.mox.StubOutWithMock(common_util, 'parse_serialized_json')
51 self.mox.StubOutWithMock(common_util, 'parse_serialized_json')
H A Dregistration_tickets_unittest.py68 self.mox.StubOutWithMock(common_util, 'parse_serialized_json')
70 self.mox.StubOutWithMock(common_util, 'grab_header_field')
96 self.mox.StubOutWithMock(common_util, 'parse_serialized_json')
111 self.mox.StubOutWithMock(common_util, 'parse_serialized_json')
/external/autotest/frontend/health/
H A Dcheck_test_health_unittest.py19 self.mox.StubOutWithMock(subprocess, 'call')
20 self.mox.StubOutWithMock(logging, 'error')
21 self.mox.StubOutWithMock(logging, 'info')
93 self.mox.StubOutWithMock(subprocess, 'call')
94 self.mox.StubOutWithMock(logging, 'error')
95 self.mox.StubOutWithMock(logging, 'info')
168 self.mox.StubOutWithMock(check_test_health, 'run_prep_scripts')
169 self.mox.StubOutWithMock(check_test_health, 'run_analysis_scripts')
H A Dcomplete_failures_functional_test.py80 self.mox.StubOutWithMock(MockDatetime, 'today')
85 self.mox.StubOutWithMock(mail, 'send')
H A Dpassing_experimental_functional_test.py53 self.mox.StubOutWithMock(MockDatetime, 'today')
59 self.mox.StubOutWithMock(subprocess, 'call')
H A Dcomplete_failures_unittest.py39 self.mox.StubOutWithMock(mail, 'send')
153 self.mox.StubOutWithMock(MockDatetime, 'today')
257 self.mox.StubOutWithMock(MockDatetime, 'today')
/external/autotest/site_utils/rpm_control_system/
H A Dutils_unittest.py22 self.mox.StubOutWithMock(__builtin__, 'open')
46 self.mox.StubOutWithMock(utils, 'load_servo_interface_mapping')
47 self.mox.StubOutWithMock(os.path, 'getmtime')
106 self.mox.StubOutWithMock(time, 'time')
127 self.mox.StubOutWithMock(time, 'time')
H A Drpm_controller_unittest.py185 self.mox.StubOutWithMock(pexpect.spawn, '_spawn')
186 self.mox.StubOutWithMock(pexpect.spawn, 'read_nonblocking')
187 self.mox.StubOutWithMock(pexpect.spawn, 'sendline')
222 self.mox.StubOutWithMock(pexpect.spawn, '__str__')
261 self.mox.StubOutWithMock(pexpect.spawn, '__str__')
262 self.mox.StubOutWithMock(rpm_controller.CiscoPOEController,
281 self.mox.StubOutWithMock(pexpect.spawn, '__str__')
282 self.mox.StubOutWithMock(rpm_controller.CiscoPOEController,
284 self.mox.StubOutWithMock(rpm_controller.CiscoPOEController,
/external/autotest/server/cros/dynamic_suite/
H A Djob_status_unittest.py93 self.mox.StubOutWithMock(time, 'sleep')
106 self.mox.StubOutWithMock(time, 'sleep')
131 self.mox.StubOutWithMock(time, 'sleep')
144 self.mox.StubOutWithMock(time, 'sleep')
197 self.mox.StubOutWithMock(time, 'sleep')
198 self.mox.StubOutWithMock(job_status, 'gather_job_hostnames')
236 self.mox.StubOutWithMock(job_status, 'gather_job_hostnames')
237 self.mox.StubOutWithMock(job_status, '_abort_jobs_if_timedout')
254 self.mox.StubOutWithMock(job_status, 'gather_job_hostnames')
255 self.mox.StubOutWithMock(job_statu
[all...]
H A Dsuite_unittest.py114 self.mox.StubOutWithMock(control_data, 'parse_control_string')
234 self.mox.StubOutWithMock(Suite, 'find_and_parse_tests')
259 self.mox.StubOutWithMock(suite, '_remember_provided_job_id')
520 self.mox.StubOutWithMock(suite, 'schedule')
524 self.mox.StubOutWithMock(job_status, 'wait_for_results')
554 self.mox.StubOutWithMock(suite, 'schedule')
556 self.mox.StubOutWithMock(job_status, 'wait_for_results')
580 self.mox.StubOutWithMock(suite, '_create_job')
649 self.mox.StubOutWithMock(reporting, 'TestBug')
657 self.mox.StubOutWithMock(reportin
[all...]
H A Dtools_unittest.py72 self.mox.StubOutWithMock(tools, 'infrastructure_user')
/external/autotest/server/
H A Dlab_status_unittest.py119 self.mox.StubOutWithMock(urllib2, 'urlopen')
120 self.mox.StubOutWithMock(time, 'sleep')
301 self.mox.StubOutWithMock(global_config.global_config,
303 self.mox.StubOutWithMock(site_utils, '_get_lab_status')

Completed in 478 milliseconds

12