Changes in src/sas/qtgui/Perspectives/Fitting/UnitTesting/ConstraintWidgetTest.py [3b3b40b:725d9c06] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/UnitTesting/ConstraintWidgetTest.py
- Property mode changed from 100644 to 100755
r3b3b40b r725d9c06 22 22 if not QtWidgets.QApplication.instance(): 23 23 app = QtWidgets.QApplication(sys.argv) 24 #app = QtWidgets.QApplication(sys.argv) 24 25 25 26 class ConstraintWidgetTest(unittest.TestCase): … … 70 71 # click on "batch" 71 72 QTest.mouseClick(self.widget.btnBatch, QtCore.Qt.LeftButton) 72 QtWidgets.QApplication.processEvents()73 app.processEvents() 73 74 # See what the current type is now 74 75 self.assertEqual(self.widget.currentType, "BatchPage") … … 77 78 # Go back to single fit 78 79 QTest.mouseClick(self.widget.btnSingle, QtCore.Qt.LeftButton) 79 QtWidgets.QApplication.processEvents()80 app.processEvents() 80 81 # See what the current type is now 81 82 self.assertEqual(self.widget.currentType, "FitPage")
Note: See TracChangeset
for help on using the changeset viewer.