Lines Matching refs:and_raises
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 service not known')>"))
775 sys.exit.expect_call(1).and_raises(cli_mock.ExitException)