#NEWLINE# def test_graph_flow_two_independent_tasks( self ) : #NEWLINE# #INDENT# task1 = _task ( name = 'task1' ) #NEWLINE# task2 = _task ( name = 'task2' ) #NEWLINE# f = gf . Flow ( 'test' ) . add ( task1 , task2 ) #NEWLINE# self . assertEqual ( 2 , len ( f ) ) #NEWLINE# self . assertItemsEqual ( f , [ task1 , task2 ] ) #NEWLINE# self . assertEqual ( [ ] , list ( f . iter_links ( ) ) )