Changeset f3a19ad in sasview for src/sas/qtgui/Perspectives/Fitting/UnitTesting
- Timestamp:
- Sep 4, 2018 10:19:33 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 70f4458
- Parents:
- c7809a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/UnitTesting/FittingWidgetTest.py
r00b7ddf0 rf3a19ad 254 254 self.widget.cbStructureFactor.setCurrentIndex(structure_index) 255 255 256 # We have 4 more rows now257 self.assertEqual(self.widget._model_model.rowCount(), rowcount+ 5)256 # We have 3 more param rows now (radius_effective is removed), and a new heading 257 self.assertEqual(self.widget._model_model.rowCount(), rowcount+4) 258 258 259 259 # Switch models … … 274 274 last_index = self.widget.cbStructureFactor.count() 275 275 self.widget.cbStructureFactor.setCurrentIndex(last_index-1) 276 # Do we have all the rows ?276 # Do we have all the rows (incl. radius_effective & heading row)? 277 277 self.assertEqual(self.widget._model_model.rowCount(), 5) 278 278
Note: See TracChangeset
for help on using the changeset viewer.