#NEWLINE# def test_basicFormat( self ) : #NEWLINE# #INDENT# '\n        Basic formattable event passes the format along correctly.\n        ' #NEWLINE# event = dict ( log_format = 'Hello, {who}!' , who = 'dude' ) #NEWLINE# ( records , output ) = self . logEvent ( event ) #NEWLINE# self . assertEqual ( len ( records ) , 1 ) #NEWLINE# self . assertEqual ( str ( records [ 0 ] . msg ) , 'Hello, dude!' ) #NEWLINE# self . assertEqual ( records [ 0 ] . args , ( ) )