Changeset 464cd07 in sasview for src/sas/qtgui/MainWindow/UnitTesting/DataExplorerTest.py
- Timestamp:
- Aug 22, 2017 5:59:29 AM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- b2a5042
- Parents:
- 457d961
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/UnitTesting/DataExplorerTest.py
rdc5ef15 r464cd07 25 25 import sas.qtgui.Plotting.PlotHelper as PlotHelper 26 26 27 app = QApplication(sys.argv) 27 if not QApplication.instance(): 28 app = QApplication(sys.argv) 28 29 29 30 class DataExplorerTest(unittest.TestCase): … … 441 442 # Click on the Help button 442 443 QTest.mouseClick(button1, Qt.LeftButton) 443 qApp.processEvents()444 QtGui.qApp.processEvents() 444 445 445 446 # Check the browser … … 450 451 # Click on the Help_2 button 451 452 QTest.mouseClick(button2, Qt.LeftButton) 452 qApp.processEvents()453 QtGui.qApp.processEvents() 453 454 # Check the browser 454 455 self.assertIn(partial_url, str(self.form._helpView.url()))
Note: See TracChangeset
for help on using the changeset viewer.