#NEWLINE# def test_graph_flow_with_retry( self ) : #NEWLINE# #INDENT# ret = retry . AlwaysRevert ( requires = [ 'a' ] , provides = [ 'b' ] ) #NEWLINE# f = gf . Flow ( 'test' , ret ) #NEWLINE# self . assertIs ( self . retry , ret ) #NEWLINE# self . assertEqual ( 'test_retry' , ret . name ) #NEWLINE# self . assertEqual ( set ( [ 'a' ] ) , f . requires ) #NEWLINE# self . assertEqual ( set ( [ 'b' ] ) , f . provides )