Beispiel #1
0
 def setup_class(self):
     """ setup any state specific to the execution of the given class (which
     usually contains tests).
     """
     '''Create the GUI'''
     self.app = QApplication(sys.argv)
     oseg = lisa.organ_segmentation.OrganSegmentation()
     self.oseg_w = OrganSegmentationWindow(oseg) # noqa
Beispiel #2
0
 def setUp(self):
     '''Create the GUI'''
     self.app = QApplication(sys.argv)
     oseg = lisa.organ_segmentation.OrganSegmentation()
     self.oseg_w = OrganSegmentationWindow(oseg) # noqa