#NEWLINE# def test_trace( self ) : #NEWLINE# #INDENT# '\n        Tracing keeps track of forwarding to the publisher.\n        ' #NEWLINE# def publisher( event ) : #NEWLINE# #INDENT# observer ( event ) #NEWLINE# #UNINDENT# def observer( event ) : #NEWLINE# #INDENT# self . assertEqual ( event [ 'log_trace' ] , [ ( log , publisher ) ] ) #NEWLINE# #UNINDENT# log = TestLogger ( observer = publisher ) #NEWLINE# log . info ( 'Hello.' , log_trace = [ ] )