#NEWLINE# def testConnectToExistingActorSystem( self ) : #NEWLINE# #INDENT# as1 = ActorSystem ( ) #NEWLINE# parent1 = as1 . createActor ( Parent ) #NEWLINE# self . assertEqual ( 'Hi' , as1 . ask ( parent1 , 'Hello' , 3 ) ) #NEWLINE# aS = ActorSystem ( self . basename , { #NEWLINE# #INDENT# 'Admin Port' : 14153 , #NEWLINE# #UNINDENT# } , transientUnique = True ) #NEWLINE# try : #NEWLINE# #INDENT# parent = aS . createActor ( Parent ) #NEWLINE# self . assertEqual ( 'Hi' , aS . ask ( parent , 'Hello' , 3 ) ) #NEWLINE# r = aS . ask ( parent , FwdMsg ( [ parent1 , parent , r ] ) , 0.5 ) #NEWLINE# self . assertEqual ( [ parent1 , parent , parent1 ] , r . pathdone ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# pass #NEWLINE# aS . shutdown ( )