#NEWLINE# def test_recache_on_add_no_deps( self ) : #NEWLINE# #INDENT# f = gf . TargetedFlow ( 'test' ) #NEWLINE# task1 = _task ( 'task1' , provides = [ ] , requires = [ ] ) #NEWLINE# f . add ( task1 ) #NEWLINE# f . set_target ( task1 ) #NEWLINE# self . assertEqual ( 1 , len ( f ) ) #NEWLINE# task2 = _task ( 'task2' , provides = [ ] , requires = [ ] ) #NEWLINE# f . add ( task2 ) #NEWLINE# self . assertEqual ( 1 , len ( f ) )