#NEWLINE# def testAll( self ) : #NEWLINE# #INDENT# for ( i , data ) in enumerate ( TESTS ) : #NEWLINE# #INDENT# self . write ( data . content ) #NEWLINE# actual = word_end_reverse ( self . view , * data . args ) #NEWLINE# msg = 'failed at test index {0}: {1}' . format ( i , data . msg ) #NEWLINE# self . assertEqual ( data . expected , actual , self )