#NEWLINE# def test_handle_request_reraise_exception( self ) : #NEWLINE# #INDENT# start_response = object ( ) #NEWLINE# servr = self . dispatcher . _server_name_to_server [ 'other' ] #NEWLINE# self . mox . StubOutWithMock ( servr , '_handle_request' ) #NEWLINE# servr . _handle_request ( { #NEWLINE# #INDENT# 'foo' : 'bar' , #NEWLINE# #UNINDENT# } , start_response ) . AndRaise ( Exception ) #NEWLINE# self . mox . ReplayAll ( ) #NEWLINE# self . assertRaises ( Exception , self . dispatcher . _handle_request , { #NEWLINE# #INDENT# 'foo' : 'bar' , #NEWLINE# #UNINDENT# } , start_response , servr , None ) #NEWLINE# self . mox . VerifyAll ( )