Пример #1
0
 def testEdmBrowser(self):
     logging.debug(self.__class__.__name__ + ': testRun()')
     self.app = Application(sys.argv)
     self.app.mainWindow().setWindowTitle("test EdmBrowser")
     self.app.openFile(
         os.path.join(
             examplesDirectory,
             "QCDDiJet_Pt50to80_Summer09_RECO_3_1_X_10events.root"))
     if not hasattr(unittest, "NO_GUI_TEST"):
         self.app.run()
Пример #2
0
 def testRun(self):
     logging.debug(self.__class__.__name__ +': testRun()')
     self.app=Application(sys.argv)
     self.app.mainWindow().setWindowTitle("test MainWindow")
     if not hasattr(unittest,"NO_GUI_TEST"):
         self.app.run()