Searched refs:and_raises (Results 1 – 16 of 16) sorted by relevance
43 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)
145 and_raises(proxy.JSONRPCException(expected)))175 sys.exit.expect_call(exit_code).and_raises(ExitException)
334 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)744 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)784 …rpc.afe_comm.run.expect_call('myop').and_raises(urllib2.URLError("<urlopen error (-2, 'Name or ser…785 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
215 .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))
79 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)365 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
29 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)
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(
141 func.expect_call(1, 2).and_raises(error)163 .and_raises(subcommand.os.error('waitpid')))183 cmd._handle_exitstatus.expect_call(10).and_raises(Exception('fail'))206 cmd._handle_exitstatus.expect_call(10).and_raises(Exception('fail'))368 func.expect_call(3).and_raises(error)
251 .and_raises(error.AutoservRunError('dummy', object())))281 collector.collect_client_job_results.expect_call().and_raises(291 self.host.run.expect_call('echo A > /autotest/fifo2').and_raises(311 self.host.run.expect_call('echo B > /autotest/fifo3').and_raises(
159 os_dep.command.expect_call(package_manager).and_raises(ValueError)162 os_dep.command.expect_call('alien').and_raises(ValueError)
295 self.control, options, True).and_raises(error)391 self.job._runtest.expect_call(testname, "", None, (), {}).and_raises(426 self.job._runtest.expect_call(testname, "", None, (), {}).and_raises(
61 version_0.job.find_hostname.expect_call('.').and_raises(86 version_0.job.find_hostname.expect_call('.').and_raises(
124 m3.method6.expect_call(True).and_raises(MyError("woops"))
181 def and_raises(self, error): member in function_mapping
91 self.test.run_once.expect_call(1, 2, arg='val').and_raises(error)
844 utils.select.select.expect_any_call().and_raises(