#NEWLINE# def test_empty( self ) : #NEWLINE# #INDENT# r = lf . Flow ( 'root' ) #NEWLINE# r_1 = test_utils . TaskOneReturn ( 'root.1' ) #NEWLINE# r . add ( r_1 ) #NEWLINE# c = compiler . PatternCompiler ( r ) . compile ( ) #NEWLINE# self . assertIn ( r_1 , c . execution_graph ) #NEWLINE# self . assertIsNotNone ( c . hierarchy . find ( r_1 ) ) #NEWLINE# walker = sc . ScopeWalker ( c , r_1 ) #NEWLINE# scopes = list ( walker ) #NEWLINE# self . assertEqual ( [ ] , scopes )