#NEWLINE# def test_exception( self ) : #NEWLINE# #INDENT# exc_info = ( object ( ) , object ( ) , object ( ) ) #NEWLINE# start_response = start_response_utils . CapturingStartResponse ( ) #NEWLINE# start_response ( '200 OK' , [ ( 'header1' , 'value1' ) ] ) #NEWLINE# start_response ( '500 Internal Server Error' , [ ] , exc_info ) #NEWLINE# self . assertEqual ( '500 Internal Server Error' , start_response . status ) #NEWLINE# self . assertEqual ( exc_info , exc_info . exc_info ) #NEWLINE# self . assertEqual ( [ ] , start_response . response_headers )