#NEWLINE# def test_debug_exception( self ) : #NEWLINE# #INDENT# self . http_client . fetch ( self . get_url ( '/exception' ) , self . stop ) #NEWLINE# response = self . wait ( ) #NEWLINE# self . assertEqual ( 500 , response . code ) #NEWLINE# self . assertNotIn ( b'Log from preprocessor' , response . body ) #NEWLINE# self . assertNotIn ( b'Log from postprocessor' , response . body ) #NEWLINE# self . assertNotIn ( b'/mock/json' , response . body ) #NEWLINE# self . assertNotIn ( b'Hello, world!' , response . body )