#NEWLINE# def get_error_html( self , status_code , **kwargs ) : #NEWLINE# #INDENT# if ( ( 'exception' in kwargs ) and ( str ( self [ 'exception' ] ) == 'test exception' ) ) : #NEWLINE# #INDENT# return 'got expected exception' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return 'unexpected failure'