Changeset c02721c4 in sasview for src/sas/qtgui/Perspectives/Fitting


Ignore:
Timestamp:
Mar 29, 2019 8:36:51 AM (6 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_opencl
Children:
6edd344
Parents:
c7e73e7
Message:

Unit test update after latest round of commits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/UnitTesting/FittingWidgetTest.py

    r0989bad rc02721c4  
    242242        self.widget.show() 
    243243        # 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") 
    245245        self.widget.cbCategory.setCurrentIndex(category_index) 
    246246        # 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') 
    248248        self.widget.cbModel.setCurrentIndex(model_index) 
    249249 
     
    260260        self.widget.cbStructureFactor.setCurrentIndex(structure_index) 
    261261 
    262         # We have 3 more param rows now (radius_effective is removed), and a new heading 
    263         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) 
    264264 
    265265        # Switch models 
Note: See TracChangeset for help on using the changeset viewer.