def test_sendrecv(self): util.log_info('sendrecv') with self._connect() as proxy: ping_req = proxy.ping(Ping(ping='Hello!')) res = ping_req.wait() self.assertEqual(res.pong, 'Hello!')
def setUp(self): util.log_info('HERE') self.server = EchoWorker(zeromq.server_socket(('127.0.0.1', -1))) self.server.serve_nonblock()