Changeset c02721c4 in sasview for src/sas/qtgui/Perspectives/Fitting/UnitTesting
- Timestamp:
- Mar 29, 2019 8:36:51 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_opencl
- Children:
- 6edd344
- Parents:
- c7e73e7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/UnitTesting/FittingWidgetTest.py
r0989bad rc02721c4 242 242 self.widget.show() 243 243 # Change the category index so we have some models 244 category_index = self.widget.cbCategory.findText(" Shape Independent")244 category_index = self.widget.cbCategory.findText("Cylinder") 245 245 self.widget.cbCategory.setCurrentIndex(category_index) 246 246 # Change the model to one that supports structure factors 247 model_index = self.widget.cbModel.findText(' fractal_core_shell')247 model_index = self.widget.cbModel.findText('cylinder') 248 248 self.widget.cbModel.setCurrentIndex(model_index) 249 249 … … 260 260 self.widget.cbStructureFactor.setCurrentIndex(structure_index) 261 261 262 # We have 3 more param rows now (radius_effective is removed), and a new heading263 self.assertEqual(self.widget._model_model.rowCount(), rowcount+ 4)262 # We have 3 more param rows now (radius_effective is removed), and new headings 263 self.assertEqual(self.widget._model_model.rowCount(), rowcount+7) 264 264 265 265 # Switch models
Note: See TracChangeset
for help on using the changeset viewer.