#NEWLINE# def test_graph_flow_no_resolve_existing( self ) : #NEWLINE# #INDENT# task1 = _task ( name = 'task1' , requires = [ 'a' , 'b' ] ) #NEWLINE# task2 = _task ( name = 'task2' , provides = [ 'a' , 'b' ] ) #NEWLINE# f = gf . Flow ( 'test' ) #NEWLINE# f . add ( task1 ) #NEWLINE# f . add ( task2 , resolve_existing = False ) #NEWLINE# self . assertEqual ( set ( [ 'a' , 'b' ] ) , f . requires )