Changeset f7d14a1 in sasview for src/sas/qtgui/Perspectives/Fitting/UnitTesting
- Timestamp:
- Oct 25, 2017 4:23:01 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:
- dc57b4f, 02f1d12, fca1f50
- Parents:
- d3475fe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/UnitTesting/FittingWidgetTest.py
r7ace296 rf7d14a1 100 100 delegate = fittingWindow.lstPoly.itemDelegate() 101 101 self.assertEqual(len(delegate.POLYDISPERSE_FUNCTIONS), 5) 102 self.assertEqual(delegate.editableParameters(), [ 1,2, 3, 4, 5])102 self.assertEqual(delegate.editableParameters(), [2, 3, 4, 5]) 103 103 self.assertEqual(delegate.poly_function, 6) 104 104 self.assertIsInstance(delegate.combo_updated, QtCore.pyqtBoundSignal) … … 629 629 updateModelItem(item, [test_data], "test") 630 630 # Force same data into logic 631 self.widget. logic.data = item631 self.widget.data = item 632 632 category_index = self.widget.cbCategory.findText("Sphere") 633 633 self.widget.cbCategory.setCurrentIndex(category_index) … … 678 678 updateModelItem(item, [test_data], "test") 679 679 # Force same data into logic 680 self.widget. logic.data = item680 self.widget.data = item 681 681 category_index = self.widget.cbCategory.findText("Sphere") 682 682 self.widget.cbCategory.setCurrentIndex(category_index)
Note: See TracChangeset
for help on using the changeset viewer.