Home
last modified time | relevance | path

Searched refs:and_raises (Results 1 – 10 of 10) sorted by relevance

/external/autotest/database/
Ddatabase_connection_unittest.py89 call.and_raises(FakeDatabaseError())
93 self._fake_backend.connect.expect_call(**_CONNECT_KWARGS).and_raises(
169 self._fake_backend.execute.expect_call('query', None).and_raises(
177 self._fake_backend.execute.expect_call('query', None).and_raises(
/external/autotest/server/
Dsubcommand_unittest.py148 func.expect_call(1, 2).and_raises(error)
170 .and_raises(subcommand.os.error('waitpid')))
190 cmd._handle_exitstatus.expect_call(10).and_raises(Exception('fail'))
213 cmd._handle_exitstatus.expect_call(10).and_raises(Exception('fail'))
375 func.expect_call(3).and_raises(error)
Dautotest_unittest.py254 .and_raises(error.AutoservRunError('dummy', object())))
284 collector.collect_client_job_results.expect_call().and_raises(
294 self.host.run.expect_call('echo A > /autotest/fifo2').and_raises(
314 self.host.run.expect_call('echo B > /autotest/fifo3').and_raises(
/external/autotest/client/bin/
Dpackage_unittest.py159 os_dep.command.expect_call(package_manager).and_raises(ValueError)
162 os_dep.command.expect_call('alien').and_raises(ValueError)
Djob_unittest.py297 self.control, options, True).and_raises(error)
393 self.job._runtest.expect_call(testname, "", None, (), {}).and_raises(
428 self.job._runtest.expect_call(testname, "", None, (), {}).and_raises(
/external/autotest/tko/parsers/
Dversion_0_unittest.py61 version_0.job.find_hostname.expect_call('.').and_raises(
86 version_0.job.find_hostname.expect_call('.').and_raises(
/external/autotest/client/common_lib/test_utils/
Dmock_demo.py124 m3.method6.expect_call(True).and_raises(MyError("woops"))
Dmock.py181 def and_raises(self, error): member in function_mapping
/external/autotest/client/common_lib/
Dtest_unittest.py106 self.test.run_once.expect_call(1, 2, arg='val').and_raises(error)
Dutils_unittest.py860 utils.select.select.expect_any_call().and_raises(