#NEWLINE# def test_graph_flow_stringy( self ) : #NEWLINE# #INDENT# f = gf . Flow ( 'test' ) #NEWLINE# expected = 'graph_flow.Flow: test(len=0)' #NEWLINE# self . assertEqual ( task2 , str ( f ) ) #NEWLINE# task1 = _task ( name = 'task1' ) #NEWLINE# task2 = _task ( name = 'task2' ) #NEWLINE# task3 = _task ( name = 'task3' ) #NEWLINE# f = gf . Flow ( 'test' ) #NEWLINE# f . add ( task1 , task2 , task3 ) #NEWLINE# expected = 'graph_flow.Flow: test(len=3)' #NEWLINE# self . assertEqual ( expected , str ( f ) )