Home
last modified time | relevance | path

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

/external/autotest/cli/
Dacl_unittest.py43 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
152 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
163 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
173 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
273 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
Dcli_mock.py145 and_raises(proxy.JSONRPCException(expected)))
175 sys.exit.expect_call(exit_code).and_raises(ExitException)
Dtopic_common_unittest.py334 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
423 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
434 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
735 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
774 …rpc.afe_comm.run.expect_call('myop').and_raises(urllib2.URLError("<urlopen error (-2, 'Name or ser…
775 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
Djob_unittest.py215 .and_raises(cli_mock.ExitException))
837 .and_raises(cli_mock.ExitException))
849 .and_raises(cli_mock.ExitException))
862 .and_raises(cli_mock.ExitException))
874 .and_raises(IOError))
885 .and_raises(cli_mock.ExitException))
Daction_common_unittest.py79 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
365 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
Dhost_unittest.py29 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
/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.py142 func.expect_call(1, 2).and_raises(error)
164 .and_raises(subcommand.os.error('waitpid')))
184 cmd._handle_exitstatus.expect_call(10).and_raises(Exception('fail'))
207 cmd._handle_exitstatus.expect_call(10).and_raises(Exception('fail'))
369 func.expect_call(3).and_raises(error)
Dautotest_unittest.py245 .and_raises(error.AutoservRunError('dummy', object())))
275 collector.collect_client_job_results.expect_call().and_raises(
285 self.host.run.expect_call('echo A > /autotest/fifo2').and_raises(
305 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.py288 self.control, options, True).and_raises(error)
384 self.job._runtest.expect_call(testname, "", None, (), {}).and_raises(
419 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.py90 self.test.run_once.expect_call(1, 2, arg='val').and_raises(error)
111 {'arg': 'val'}).and_raises(
Dutils_unittest.py780 utils.select.select.expect_any_call().and_raises(
1132 run_func.expect_call('readlink -f /sys/class/net/eth0').and_raises(