Searched refs:and_raises (Results 1 – 10 of 10) sorted by relevance
/external/autotest/database/ |
D | database_connection_unittest.py | 89 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/ |
D | subcommand_unittest.py | 148 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)
|
D | autotest_unittest.py | 254 .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/ |
D | package_unittest.py | 159 os_dep.command.expect_call(package_manager).and_raises(ValueError) 162 os_dep.command.expect_call('alien').and_raises(ValueError)
|
D | job_unittest.py | 297 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/ |
D | version_0_unittest.py | 61 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/ |
D | mock_demo.py | 124 m3.method6.expect_call(True).and_raises(MyError("woops"))
|
D | mock.py | 181 def and_raises(self, error): member in function_mapping
|
/external/autotest/client/common_lib/ |
D | test_unittest.py | 106 self.test.run_once.expect_call(1, 2, arg='val').and_raises(error)
|
D | utils_unittest.py | 860 utils.select.select.expect_any_call().and_raises(
|