#NEWLINE# def test_exceptions_are_converted_to_faults_webob_exc( self ) : #NEWLINE# #INDENT# @ webob . dec . wsgify #NEWLINE# def raise_webob_exc( req ) : #NEWLINE# #INDENT# raise webob . exc . HTTPNotFound ( explanation = 'Raised a webob.exc' ) #NEWLINE# #UNINDENT# api = self . _wsgi_app ( raise_webob_exc ) #NEWLINE# resp = webob . Request . blank ( '/' ) . get_response ( api ) #NEWLINE# self . assertEqual ( resp . status_int , 404 , resp . body )