#NEWLINE# def testACWB( self ) : #NEWLINE# #INDENT# 'Aho-Corasick-based matching with Word Boundaries' #NEWLINE# lines = 0 #NEWLINE# for l in logfilter ( self . testset , blacklist = self . blacklist , field = 1 , delimiter = '\t' , with_acora = True , ignorecase = False , word_boundaries = True ) : #NEWLINE# #INDENT# lines += 1 #NEWLINE# #UNINDENT# self . assertEquals ( self , self . exp_emitted_wb , ( 'Number of lines emitted was not as expected: %s (Expected: %s)' % ( lines , self . exp_emitted_wb ) ) )