def setUp(self): self.factory = VOEventReceiverFactory(DUMMY_SERVICE_IVOID) self.proto = self.factory.buildProtocol(('127.0.0.1', 0)) self.clock = task.Clock() self.proto.callLater = self.clock.callLater self.tr = proto_helpers.StringTransportWithDisconnection() self.proto.makeConnection(self.tr) self.tr.protocol = self.proto
def setUp(self): self.factory = VOEventReceiverFactory(DUMMY_SERVICE_IVOID)