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)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)
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(
142 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)
245 .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(
159 os_dep.command.expect_call(package_manager).and_raises(ValueError)162 os_dep.command.expect_call('alien').and_raises(ValueError)
288 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(
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
90 self.test.run_once.expect_call(1, 2, arg='val').and_raises(error)111 {'arg': 'val'}).and_raises(
780 utils.select.select.expect_any_call().and_raises(1132 run_func.expect_call('readlink -f /sys/class/net/eth0').and_raises(