Home
last modified time | relevance | path

Searched refs:AndRaise (Results 1 – 17 of 17) sorted by relevance

/external/autotest/client/common_lib/cros/
Ddev_server_unittest.py198 urllib2.urlopen(mox.StrContains(self.test_call)).AndRaise(E500)
215 timeout=mox.IgnoreArg()).AndRaise(MockSshError())
290 argument1, timeout=mox.IgnoreArg()).AndRaise(
322 argument1, timeout=mox.IgnoreArg()).MultipleTimes().AndRaise(
364 mox.IgnoreArg()).AndRaise(CMD_ERROR)
366 mox.IgnoreArg()).AndRaise(E500)
379 mox.IgnoreArg()).AndRaise(refused)
381 dev_server.ImageServerBase.run_call(mox.IgnoreArg()).AndRaise(E403)
391 mox.IgnoreArg()).AndRaise(CMD_ERROR)
393 mox.IgnoreArg()).AndRaise(E500)
[all …]
Dautoupdater_unittest.py396 self.host.run(command=cmd).AndRaise(exception)
623 autoupdater.ChromiumOSUpdater._run(can_rollback_cmd).AndRaise(
/external/autotest/site_utils/rpm_control_system/
Dfrontend_server_unittest.py110 self.frontend._rpm_info[DUT_HOSTNAME], NEW_STATE).AndRaise(
116 self.xmlrpc_mock.is_up().AndRaise(
135 self.frontend._rpm_info[DUT_HOSTNAME], NEW_STATE).AndRaise(
140 self.xmlrpc_mock.is_up().AndRaise(
Drpm_controller_unittest.py93 timeout=60).AndRaise(pexpect.TIMEOUT('Timed Out'))
227 mox.IgnoreArg()).MultipleTimes().AndRaise(exception)
271 mox.IgnoreArg()).MultipleTimes().AndRaise(exception)
294 mox.IgnoreArg()).MultipleTimes().AndRaise(exception)
/external/autotest/site_utils/suite_scheduler/
Dmanifest_versions_unittest.py87 self.mv._Clone().AndRaise(
101 self.mv._Clone().AndRaise(
105 self.mv._Clone().AndRaise(
208 manifest_versions._SystemOutput(mox.StrContains('log')).AndRaise(
Ddeduping_scheduler_unittest.py63 site_utils.check_lab_status(build).AndRaise(
180 min_rpc_timeout=mox.IgnoreArg()).AndRaise(Exception())
256 min_rpc_timeout=mox.IgnoreArg()).AndRaise(Exception())
310 min_rpc_timeout=mox.IgnoreArg()).AndRaise(exception)
Dboard_enumerator_unittest.py55 self.afe.get_labels(name__startswith=self.prefix).AndRaise(Exception())
Dtask_unittest.py393 testbed_dut_count=None, no_delay=False).AndRaise(
480 testbed_dut_count=None, no_delay=False).AndRaise(
/external/autotest/server/cros/dynamic_suite/
Dcontrol_file_getter_unittest.py54 suite_name='').AndRaise(self._403)
92 suite_name='').AndRaise(self._403)
102 self.dev_server.get_control_file(self._BUILD, path).AndRaise(self._403)
Dsuite_unittest.py333 job_mock.AndRaise(error.NoEligibleHostException())
675 mox.IgnoreArg()).AndRaise(
698 mox.IgnoreArg(), retry_for=mox.IgnoreArg()).AndRaise(
855 test_to_retry, retry_for=self._FAKE_JOB_ID).AndRaise(
/external/autotest/site_utils/
Dpubsub_utils_unittest.py100 _TEST_CLOUD_SERVICE_ACCOUNT_FILE).AndRaise(
122 credentials=credentials).AndRaise(UnknownApiNameOrVersion())
Dserver_manager_unittest.py111 ).AndRaise(django.core.exceptions.ObjectDoesNotExist)
/external/autotest/server/
Dlab_status_unittest.py139 urllib2.urlopen(mox.IgnoreArg()).AndRaise(
170 urllib2.urlopen(mox.IgnoreArg()).AndRaise(
/external/autotest/frontend/afe/
Dmoblab_rpc_interface_unittest.py438 'gs://bucket1')).AndRaise(
463 '/tmp')).AndRaise(
Drpc_interface_unittest.py794 image=self._BUILD, artifacts=['test_suites']).AndRaise(
833 self._SUITE_NAME).AndRaise(error.NoControlFileList())
/external/autotest/utils/
Dpylintrc136 # CHANGE: Added 'AndRaise', 'AndReturn', 'InAnyOrder' and 'MultipleTimes'
139 generated-members=REQUEST,acl_users,aq_parent,AndRaise,AndReturn,
/external/protobuf/python/
Dmox.py728 def AndRaise(self, exception): member in MockMethod