#NEWLINE# def testChildSigTerm( self ) : #NEWLINE# #INDENT# parent = ActorSystem ( ) . createActor ( ParentActor ) #NEWLINE# self . assertEqual ( 'world' , ActorSystem ( ) . ask ( parent , 'hello' , smallwait ) ) #NEWLINE# child_pid = ActorSystem ( ) . ask ( parent , 'child' , ( smallwait * 3 ) ) #NEWLINE# self . assertTrue ( child_pid ) #NEWLINE# os . kill ( child_pid , signal . SIGTERM ) #NEWLINE# time . sleep ( 0.2 ) #NEWLINE# self . assertEqual ( 'goodbye' , ActorSystem ( ) . ask ( parent , 'hello' , smallwait ) )