

def test17_CreateRemoteFriends(self):
    self.startSystems(20)
    pattinson = ActorSystem().createActor(Pattinson)
    ActorSystem().tell(pattinson, 'Best Friend')
    self.assertEqual(ActorSystem().ask(pattinson, 'Best Friend Says', 2), 'woof!')
    self.assertEqual(ActorSystem().ask(pattinson, 'Hello', 2), 'Greetings.')
    self.assertEqual(ActorSystem().ask(pattinson, 'allfriends?', 2), 'Pattinson:hi.Stewart:helloJolie:Bonjour')
    self.assertEqual(ActorSystem().ask(pattinson, 'Goodbye', 2), 'Greetings.')

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