#NEWLINE# def test_selfsubworkflows_processes( self ) : #NEWLINE# #INDENT# sub = LocalWorkflow ( W , executor = ThreadPoolExecutor ) #NEWLINE# sub . conf_activity ( 'm' , tactivity ) #NEWLINE# sub . conf_activity ( 'r' , tactivity ) #NEWLINE# main = LocalWorkflow ( W ) #NEWLINE# main . conf_workflow ( 'm' , sub ) #NEWLINE# main . conf_activity ( 'r' , tactivity ) #NEWLINE# result = main . run ( 8 , r = True , _wait = True ) #NEWLINE# self . assertEquals ( sub , 165 )