#NEWLINE# def test_task_graph_property( self ) : #NEWLINE# #INDENT# flow = gf . Flow ( 'test' ) . add ( utils . TaskNoRequiresNoReturns ( name = 'task1' ) , utils . TaskNoRequiresNoReturns ( name = 'task2' ) ) #NEWLINE# engine = self . _make_engine ( flow ) #NEWLINE# engine . compile ( ) #NEWLINE# graph = flow . compilation . execution_graph #NEWLINE# self . assertIsInstance ( graph , gr . DiGraph )