def testVetoBadNameCreation(self): ThresholdingWorker(self.composite) ThresholdingWorker(self.composite) ThresholdingWorker(self.composite) ThresholdingWorker(self.composite) ThresholdingWorker(self.composite) ThresholdingWorker(self.composite)
def setUp(self): self.composite = CompositeWorker() self.worker1 = ThresholdingWorker(self.composite) self.worker1.getParam('name').value = 'worker1' self.worker2 = ThresholdingWorker(self.composite) self.worker2.getParam('name').value = 'worker2'