def onBtnProtocol(self): proto = Protocol(self.currentTest) proto.exec() if proto.ret: self.ticket.data = self.currentTest dispatcher.send(self.signals.WB_UPDATE_TEST, dispatcher.Anonymous,self.ticket) self.fillDialog()
def onBtnReport(self): proto = Protocol(self.currentTest,self.currentProject) proto.exec() if proto.ret: self.ticket.data = self.currentProject dispatcher.send(self.signals.WB_UPDATE_PROJECT, dispatcher.Anonymous,self.ticket) self.ticket.data = self.currentTest dispatcher.send(self.signals.WB_UPDATE_TEST, dispatcher.Anonymous,self.ticket)