#NEWLINE# def testLogParse( self ) : #NEWLINE# #INDENT# options = AttrDict ( { #NEWLINE# #INDENT# 'parser' : 'CommonLogFormat' , #NEWLINE# 'field' : 4 , #NEWLINE# 'header' : False , #NEWLINE# #UNINDENT# } ) #NEWLINE# fh = StringIO ( '\n' . join ( self . clf_rows ) ) #NEWLINE# output = [ l for l in logparse ( options , None , fh ) ] #NEWLINE# self . assertEquals ( len ( output ) , len ( self . clf_rows ) , 'Output size was not equal to input size!' )