def setUp(self): self.cs = ClientSocket.make_socket("zmq://ipc:///tmp/sock.ipc") self.cs.loop_run() self.ss = ServerSocket.make_socket( "zmq://ipc:///tmp/sock.ipc", None, timeout=1) self.ss.open(self.ss.address)
def setUp(self): self.inq = cothread.EventQueue() self.ss = ServerSocket.make_socket("dzmq://ipc://frfess.ipc", self.inq) self.ss.loop_run()