Home
last modified time | relevance | path

Searched refs:IgnoreArg (Results 1 – 25 of 29) sorted by relevance

12

/external/autotest/server/cros/dynamic_suite/
Dreporting_unittest.py101 client = phapi_lib.ProjectHostingApiClient(mox.IgnoreArg(),
102 mox.IgnoreArg(),
103 mox.IgnoreArg())
104 client.create_issue(mox.IgnoreArg()).AndReturn(
106 reporting.Reporter._find_issue_by_marker(mox.IgnoreArg()).AndReturn(
131 client = phapi_lib.ProjectHostingApiClient(mox.IgnoreArg(),
132 mox.IgnoreArg(),
133 mox.IgnoreArg())
134 client.update_issue(self._FAKE_ISSUE_ID, mox.IgnoreArg())
135 reporting.Reporter._find_issue_by_marker(mox.IgnoreArg()).AndReturn(
[all …]
Dcomparators.py12 status_comp = mox.StrContains(status) if status else mox.IgnoreArg()
13 name_comp = mox.StrContains(test_name) if test_name else mox.IgnoreArg()
14 reason_comp = mox.StrContains(reason) if reason else mox.IgnoreArg()
18 def __init__(self, status=mox.IgnoreArg(), test_name=mox.IgnoreArg(),
19 reason=mox.IgnoreArg()):
Dsuite_unittest.py269 mox.IgnoreArg(),
270 mox.IgnoreArg(),
271 mox.IgnoreArg(),
320 control_type=mox.IgnoreArg(),
542 utils.write_keyval(None, mox.IgnoreArg())
673 job_status.wait_for_results(mox.IgnoreArg(),
674 mox.IgnoreArg(),
675 mox.IgnoreArg()).AndRaise(
698 mox.IgnoreArg(), retry_for=mox.IgnoreArg()).AndRaise(
859 self.suite._should_report(mox.IgnoreArg()).AndReturn(False)
Djob_status_unittest.py91 time.sleep(mox.IgnoreArg())
148 time.sleep(mox.IgnoreArg())
/external/autotest/client/cros/cellular/wardmodem/state_machines/
Drequest_response_unittest.py55 self._task_loop.post_task_after_delay(mox.IgnoreArg(),
59 self._task_loop.post_task_after_delay(mox.IgnoreArg(),
63 self._task_loop.post_task_after_delay(mox.IgnoreArg(),
67 self._task_loop.post_task_after_delay(mox.IgnoreArg(),
71 self._task_loop.post_task_after_delay(mox.IgnoreArg(),
75 self._task_loop.post_task_after_delay(mox.IgnoreArg(),
79 self._task_loop.post_task_after_delay(mox.IgnoreArg(),
82 self._task_loop.post_task_after_delay(mox.IgnoreArg(),
103 self._task_loop.post_task_after_delay(mox.IgnoreArg(),
106 self._task_loop.post_task_after_delay(mox.IgnoreArg(),
[all …]
/external/autotest/site_utils/rpm_control_system/
Drpm_controller_unittest.py38 rpm_controller.multiprocessing.Process(target=mox.IgnoreArg(),
39 args=mox.IgnoreArg()).AndReturn(process)
55 rpm_controller.pexpect.spawn(mox.IgnoreArg()).AndReturn(self.ssh)
189 pexpect.spawn._spawn(mox.IgnoreArg(), mox.IgnoreArg())
191 mox.IgnoreArg(), mox.IgnoreArg()).AndReturn(self.STREAM_WELCOME)
194 mox.IgnoreArg(), mox.IgnoreArg()).AndReturn(self.STREAM_PWD)
197 mox.IgnoreArg(), mox.IgnoreArg()).AndReturn(self.STREAM_DEVICE)
215 mox.IgnoreArg(), mox.IgnoreArg()).AndReturn(self.STREAM_CONFIG)
219 mox.IgnoreArg(),
220 mox.IgnoreArg()).AndReturn(self.STREAM_CONFIG_IF)
[all …]
Dutils_unittest.py30 fake_file.__exit__(mox.IgnoreArg(), mox.IgnoreArg(), mox.IgnoreArg())
56 os.path.getmtime(mox.IgnoreArg()).AndReturn(last_modified)
Drpm_dispatcher_unittest.py44 rpm_dispatcher.atexit.register(mox.IgnoreArg())
Dfrontend_server_unittest.py138 mox.IgnoreArg(), allow_none=True).MultipleTimes(3).AndReturn(
/external/autotest/site_utils/suite_scheduler/
Dbase_event_unittest.py32 multiple_labels=mox.IgnoreArg()).AndReturn(['host1'])
37 self.Run(mox.IgnoreArg(),
38 mox.IgnoreArg(),
39 mox.IgnoreArg(),
40 mox.IgnoreArg(),
41 mox.IgnoreArg(),
42 mox.IgnoreArg()).InAnyOrder('tasks').AndReturn(True)
53 self.Run(mox.IgnoreArg(),
54 mox.IgnoreArg(),
55 mox.IgnoreArg(),
[all …]
Ddeduping_scheduler_unittest.py74 created_on__gte=mox.IgnoreArg(),
75 min_rpc_timeout=mox.IgnoreArg()).AndReturn([])
94 min_rpc_timeout=mox.IgnoreArg()).AndReturn(7)
113 created_on__gte=mox.IgnoreArg(),
114 min_rpc_timeout=mox.IgnoreArg()).AndReturn(['42'])
159 min_rpc_timeout=mox.IgnoreArg()).AndReturn(7)
179 created_on__gte=mox.IgnoreArg(),
180 min_rpc_timeout=mox.IgnoreArg()).AndRaise(Exception())
200 created_on__gte=mox.IgnoreArg(),
201 min_rpc_timeout=mox.IgnoreArg()).AndReturn([])
[all …]
Ddriver_unittest.py60 mox.IgnoreArg(), self.mv).AndReturn(mock_nightly)
62 mox.IgnoreArg(), self.mv).AndReturn(mock_weekly)
64 mox.IgnoreArg(), self.mv).AndReturn(mock_new_build)
81 board_lists=mox.IgnoreArg()).InAnyOrder().AndReturn(
85 board_lists=mox.IgnoreArg()).InAnyOrder().AndReturn(
117 event.Handle(mox.IgnoreArg(), bbs, board).InAnyOrder(group)
168 board_lists=mox.IgnoreArg()).InAnyOrder().AndReturn(
223 events[0].Handle(mox.IgnoreArg(), {milestone: [build]}, board,
Dmanifest_versions_unittest.py125 self.mv._ExpandGlobMinusPrefix(mox.IgnoreArg(),
126 mox.IgnoreArg()).AndReturn(to_return)
/external/autotest/site_utils/
Dtest_push_unittest.py49 urllib2.urlopen(mox.IgnoreArg()).AndReturn(response)
52 test_push.get_default_build(mox.IgnoreArg(), mox.IgnoreArg()).AndReturn(
54 test_push.get_default_build(mox.IgnoreArg(), mox.IgnoreArg()).AndReturn(
58 test_push.check_dut_image(mox.IgnoreArg(), mox.IgnoreArg()).AndReturn(
63 test_push.PUSH_TO_PROD_SUITE, mox.IgnoreArg(), mox.IgnoreArg(),
64 mox.IgnoreArg(), mox.IgnoreArg()).AndReturn((1))
Dserver_manager_unittest.py113 hostname=mox.IgnoreArg(), status=mox.IgnoreArg(),
114 date_created=mox.IgnoreArg(), note=mox.IgnoreArg()
117 server=mox.IgnoreArg(), role=server_models.ServerRole.ROLE.DRONE
131 server_manager_utils.check_server(mox.IgnoreArg(),
132 mox.IgnoreArg()).AndReturn(True)
139 server=mox.IgnoreArg(),
218 infra.execute_command(mox.IgnoreArg(), mox.IgnoreArg())
244 infra.execute_command(mox.IgnoreArg(), mox.IgnoreArg())
291 server_manager_utils.check_server(mox.IgnoreArg(),
292 mox.IgnoreArg()).AndReturn(False)
[all …]
Dgs_offloader_unittest.py803 mox.IgnoreArg(),mox.IgnoreArg()).AndReturn(None)
807 open(mox.IgnoreArg(), 'a').AndReturn(mock.MagicMock())
821 os.path.isfile(mox.IgnoreArg()).AndReturn(marker_initially_exists)
855 os.path.isfile(mox.IgnoreArg()).AndReturn(True)
1064 mox.IgnoreArg(), mox.IgnoreArg(), mox.IgnoreArg(), False).AndReturn(
1067 mox.IgnoreArg(), mox.IgnoreArg(), mox.IgnoreArg(), False).AndReturn(
1070 mox.IgnoreArg(), mox.IgnoreArg(), mox.IgnoreArg(), False).AndReturn(
1084 models.test.parse_job_keyval(mox.IgnoreArg()).AndReturn({
1091 False, mox.IgnoreArg(), mox.IgnoreArg()).AndReturn(
1094 False, mox.IgnoreArg(), mox.IgnoreArg()).AndReturn(
[all …]
Dtest_runner_utils_unittest.py192 test_runner_utils.fetch_local_suite(autotest_path, mox.IgnoreArg(),
/external/autotest/client/common_lib/cros/
Ddev_server_unittest.py152 timeout=mox.IgnoreArg()).AndReturn(to_return)
169 timeout=mox.IgnoreArg()).AndReturn(to_return)
187 timeout=mox.IgnoreArg()).AndReturn(to_return)
215 timeout=mox.IgnoreArg()).AndRaise(MockSshError())
290 argument1, timeout=mox.IgnoreArg()).AndRaise(
294 argument2, timeout=mox.IgnoreArg()).AndReturn(
322 argument1, timeout=mox.IgnoreArg()).MultipleTimes().AndRaise(
327 argument2, timeout=mox.IgnoreArg()).AndReturn(
364 mox.IgnoreArg()).AndRaise(CMD_ERROR)
366 mox.IgnoreArg()).AndRaise(E500)
[all …]
/external/autotest/site_utils/autoupdate/
Dfull_release_test_test.py107 mox.StrContains('%s/UPLOADED' % target)), mox.IgnoreArg()).\
113 mox.StrContains('%s/UPLOADED' % src)), mox.IgnoreArg()).\
140 mox.StrContains('%s/UPLOADED' % target)), mox.IgnoreArg()).\
146 mox.StrContains('%s/UPLOADED' % src)), mox.IgnoreArg()).\
174 mox.StrContains(archive_url)), mox.IgnoreArg()).\
180 mox.StrContains(archive_url)), mox.IgnoreArg()).\
207 mox.StrContains('%s/UPLOADED' % target)), mox.IgnoreArg()).\
213 mox.StrContains('%s/UPLOADED' % src)), mox.IgnoreArg()).\
230 mox.IgnoreArg()).\
236 mox.StrContains('%s/UPLOADED' % target)), mox.IgnoreArg()).\
[all …]
/external/autotest/server/
Dlab_status_unittest.py127 urllib2.urlopen(mox.IgnoreArg()).AndReturn(
139 urllib2.urlopen(mox.IgnoreArg()).AndRaise(
141 time.sleep(mox.IgnoreArg()).AndReturn(None)
142 urllib2.urlopen(mox.IgnoreArg()).AndReturn(
154 urllib2.urlopen(mox.IgnoreArg()).AndReturn(
156 time.sleep(mox.IgnoreArg()).AndReturn(None)
157 urllib2.urlopen(mox.IgnoreArg()).AndReturn(
170 urllib2.urlopen(mox.IgnoreArg()).AndRaise(
172 time.sleep(mox.IgnoreArg()).AndReturn(None)
184 urllib2.urlopen(mox.IgnoreArg()).AndReturn(
[all …]
/external/autotest/frontend/afe/
Dmoblab_rpc_interface_unittest.py120 mockShadowFile.__exit__(mox.IgnoreArg(), mox.IgnoreArg(),
121 mox.IgnoreArg())
151 mockFile.__exit__(mox.IgnoreArg(), mox.IgnoreArg(), mox.IgnoreArg())
413 stdout_tee=mox.IgnoreArg()).AndReturn(output)
/external/autotest/client/cros/cellular/wardmodem/
Dat_transceiver_unittest.py231 command, mox.IgnoreArg(), mock_test_machine.test_function,
444 mox.IgnoreArg()).AndReturn(task_id)
487 mox.IgnoreArg()).AndReturn(task_id)
514 mox.IgnoreArg()).AndReturn(first_task_id)
519 mox.IgnoreArg()).AndReturn(second_task_id)
Dstate_machine_unittest.py116 state_update_delay_ms, state_update, mox.IgnoreArg())
/external/autotest/scheduler/shard/
Dshard_client_unittest.py39 self.afe = frontend_wrappers.RetryingAFE(server=mox.IgnoreArg(),
183 jobs=mox.IgnoreArg(), hqes=mox.IgnoreArg(),
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_channel_unittest.py63 mock_process(target=mox.IgnoreArg(),
64 args=mox.IgnoreArg()).AndReturn(mock_process)
72 mock_process.join(mox.IgnoreArg())

12