#NEWLINE# def test_Logger_error( ) : #NEWLINE# #INDENT# app = App ( ) #NEWLINE# logger = Logger ( ) #NEWLINE# debugger = Debugger ( logger = logger ) #NEWLINE# debugger . register ( app ) #NEWLINE# while len ( app ) : #NEWLINE# #INDENT# app . flush ( ) #NEWLINE# #UNINDENT# e = test ( raiseException = True ) #NEWLINE# app . fire ( e ) #NEWLINE# while len ( app ) : #NEWLINE# #INDENT# app . flush ( ) #NEWLINE# #UNINDENT# assert logger . error_msg . startswith ( 'ERROR <handler[*][test] (App.test)> (' )