예제 #1
0
 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()
예제 #2
0
    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)