Home
last modified time | relevance | path

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

/external/autotest/server/cros/dynamic_suite/
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.py288 mox.IgnoreArg(),
289 mox.IgnoreArg(),
290 mox.IgnoreArg(),
339 control_type=mox.IgnoreArg(),
346 reboot_before=mox.IgnoreArg(),
347 run_reset=mox.IgnoreArg(),
570 utils.write_keyval(None, mox.IgnoreArg())
734 mox.IgnoreArg(), retry_for=mox.IgnoreArg()).AndRaise(
855 self.suite._should_report(mox.IgnoreArg()).AndReturn(False)
Djob_status_unittest.py99 time.sleep(mox.IgnoreArg())
/external/autotest/client/common_lib/cros/
Ddev_server_unittest.py112 time.sleep(mox.IgnoreArg())
132 timeout=mox.IgnoreArg()).AndReturn(to_return1)
133 time.sleep(mox.IgnoreArg())
135 timeout=mox.IgnoreArg()).AndReturn(to_return2)
192 timeout=mox.IgnoreArg()).AndReturn(to_return)
209 timeout=mox.IgnoreArg()).AndReturn(to_return)
227 timeout=mox.IgnoreArg()).AndReturn(to_return)
255 timeout=mox.IgnoreArg()).AndRaise(MockSshError())
330 argument1, timeout=mox.IgnoreArg()).AndRaise(
334 argument2, timeout=mox.IgnoreArg()).AndReturn(
[all …]
/external/autotest/site_utils/
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(),
221 infra.execute_command(mox.IgnoreArg(), mox.IgnoreArg())
249 infra.execute_command(mox.IgnoreArg(), mox.IgnoreArg())
297 server_manager_utils.check_server(mox.IgnoreArg(),
298 mox.IgnoreArg()).AndReturn(False)
[all …]
Dtest_push_unittest.py52 urllib.request.urlopen(mox.IgnoreArg()).AndReturn(response)
55 test_push.check_dut_image(mox.IgnoreArg(), mox.IgnoreArg()).AndReturn(
60 test_push.PUSH_TO_PROD_SUITE, mox.IgnoreArg(), mox.IgnoreArg(),
61 mox.IgnoreArg()).AndReturn((1))
Dgs_offloader_unittest.py592 mox.IgnoreArg(),mox.IgnoreArg()).AndReturn(None)
596 open(mox.IgnoreArg(), 'a').AndReturn(mock.MagicMock())
610 os.path.isfile(mox.IgnoreArg()).AndReturn(marker_initially_exists)
649 os.path.isfile(mox.IgnoreArg()).AndReturn(True)
668 os.path.isfile(mox.IgnoreArg()).AndReturn(True)
682 os.path.isfile(mox.IgnoreArg()).AndReturn(True)
926 mox.IgnoreArg(), mox.IgnoreArg(), mox.IgnoreArg(), False,
927 mox.IgnoreArg(), mox.IgnoreArg()).AndReturn(
930 mox.IgnoreArg(), mox.IgnoreArg(), mox.IgnoreArg(), False,
931 mox.IgnoreArg(), mox.IgnoreArg()).AndReturn(
[all …]
Dtest_runner_utils_unittest.py95 getter.get_control_file_list(suite_name=mox.IgnoreArg()).AndReturn([])
118 getter.get_control_file_list(suite_name=mox.IgnoreArg()).AndReturn([])
125 job.id, mox.IgnoreArg()).AndReturn(42)
232 test_runner_utils.fetch_local_suite(autotest_path, mox.IgnoreArg(),
/external/autotest/server/
Dlab_status_unittest.py133 urllib.request.urlopen(mox.IgnoreArg()).AndReturn(
145 urllib.request.urlopen(mox.IgnoreArg()).AndRaise(
147 time.sleep(mox.IgnoreArg()).AndReturn(None)
148 urllib.request.urlopen(mox.IgnoreArg()).AndReturn(
160 urllib.request.urlopen(mox.IgnoreArg()).AndReturn(
162 time.sleep(mox.IgnoreArg()).AndReturn(None)
163 urllib.request.urlopen(mox.IgnoreArg()).AndReturn(
176 urllib.request.urlopen(mox.IgnoreArg()).AndRaise(
178 time.sleep(mox.IgnoreArg()).AndReturn(None)
190 urllib.request.urlopen(mox.IgnoreArg()).AndReturn(
[all …]
/external/autotest/site_utils/rpm_control_system/
Dfrontend_server_unittest.py62 mox.IgnoreArg(), NEW_STATE).AndReturn(True)
78 mox.IgnoreArg(), NEW_STATE).AndReturn(False)
94 mox.IgnoreArg(), NEW_STATE).AndReturn(True)
119 mox.IgnoreArg(), NEW_STATE).AndRaise(
147 mox.IgnoreArg(), NEW_STATE).AndRaise(
150 mox.IgnoreArg(), allow_none=True).MultipleTimes(3).AndReturn(
156 mox.IgnoreArg(), NEW_STATE).AndReturn(True)
Dutils_unittest.py30 fake_file.__exit__(mox.IgnoreArg(), mox.IgnoreArg(), mox.IgnoreArg())
56 os.path.getmtime(mox.IgnoreArg()).AndReturn(last_modified)
Drpm_controller_unittest.py37 rpm_controller.multiprocessing.Process(target=mox.IgnoreArg(),
38 args=mox.IgnoreArg()).AndReturn(process)
54 rpm_controller.pexpect.spawn(mox.IgnoreArg()).AndReturn(self.ssh)
173 rpm_controller.pexpect.spawn(mox.IgnoreArg()).AndReturn(mock_ssh)
176 mock_ssh.sendline(mox.IgnoreArg())
178 mock_ssh.sendline(mox.IgnoreArg())
Drpm_dispatcher_unittest.py46 rpm_dispatcher.atexit.register(mox.IgnoreArg())
/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)
643 mox.IgnoreArg()).AndReturn(mock_value)
645 target=mox.IgnoreArg(), args=mox.IgnoreArg()).AndReturn(
685 mox.IgnoreArg()).AndReturn(mock_value)
687 target=mox.IgnoreArg(), args=mox.IgnoreArg()).AndReturn(
Drpc_interface_unittest.py1439 mox.IgnoreArg(), mox.IgnoreArg()).AndReturn(self.getter)
/external/autotest/site_utils/lxc/
Dcontainer_bucket_unittest.py23 ignore_status=mox.IgnoreArg(),
24 timeout=mox.IgnoreArg()
/external/autotest/server/cros/
Dprovisioner_unittest.py116 host.run(mox.IgnoreArg())
117 host.run(mox.IgnoreArg()).AndReturn(fake_result)
/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())
/external/protobuf/python/
Dmox.py1156 class IgnoreArg(Comparator): class