Ejemplo n.º 1
0
 def setUp(self):
     super().setUp()
     self.holder1 = Mock(spec_set=())
     self.holder2 = Mock(spec_set=())
     self.holder3 = Mock(spec_set=())
     self.holder4 = Mock(spec_set=())
     self.holder5 = Mock(spec_set=())
     self.holder6 = Mock(spec_set=())
     self.high_rack = [self.holder1, None, None, self.holder2]
     self.med_rack = [None, self.holder3, None, None, self.holder4]
     self.low_rack = [self.holder5, None, None, None, self.holder6]
     self.modules = ModuleRacks(high=self.high_rack,
                                med=self.med_rack,
                                low=self.low_rack)
Ejemplo n.º 2
0
 def setUp(self):
     FitTestCase.setUp(self)
     self.holder1 = Mock(spec_set=())
     self.holder2 = Mock(spec_set=())
     self.holder3 = Mock(spec_set=())
     self.holder4 = Mock(spec_set=())
     self.holder5 = Mock(spec_set=())
     self.holder6 = Mock(spec_set=())
     self.highRack = [self.holder1, None, None, self.holder2]
     self.medRack = [None, self.holder3, None, None, self.holder4]
     self.lowRack = [self.holder5, None, None, None, self.holder6]
     self.modules = ModuleRacks(high=self.highRack,
                                med=self.medRack,
                                low=self.lowRack)