#NEWLINE# def _test_pipeline( self , pipeline , app ) : #NEWLINE# #INDENT# for p in pipeline . split ( ) [ : ( - 1 ) ] : #NEWLINE# #INDENT# self . assertEqual ( app . name , p ) #NEWLINE# self . assertIsInstance ( app , TestPipeLineFactory . FakeFilter ) #NEWLINE# app = pipeline . obj #NEWLINE# #UNINDENT# self . assertEqual ( app . name , pipeline . split ( ) [ ( - 1 ) ] ) #NEWLINE# self . assertIsInstance ( app , TestPipeLineFactory . FakeApp )