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