#NEWLINE# def test_retry_in_linear_flow( self ) : #NEWLINE# #INDENT# flo = lf . Flow ( 'test' , retry . AlwaysRevert ( 'c' ) ) #NEWLINE# compilation = compiler . PatternCompiler ( flo ) . compile ( ) #NEWLINE# self . assertEqual ( 3 , len ( compilation . execution_graph ) ) #NEWLINE# self . assertEqual ( 2 , compilation . execution_graph . number_of_edges ( ) )