

def test13_CreateLocalChildOfRemoteActor(self):
    self.startSystems(16)
    stewart = ActorSystem().createActor(Stewart)
    ActorSystem().tell(stewart, 'Best Friend')
    self.assertEqual(ActorSystem().ask(stewart, 'Best Friend Says', 2), 'woof!')
    self.assertEqual(ActorSystem().ask(stewart, 'hello', 2), 'Greetings.')
    self.assertEqual(ActorSystem().ask(stewart, 'Best Friend Says', 2), 'woof!')
    wait_for_things_to_happen()
    ActorSystem().tell(stewart, ActorExitRequest())
    wait_for_things_to_happen()

dataset/ETHPy150Open godaddy/Thespian/thespian/test/testMultipleActorSystems.py TestMultiProcessSystem.test13_CreateLocalChildOfRemoteActor/original