Ignore:
File:
1 edited

Legend:

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

    r0989bad r6edd344  
    205205        model_index = self.widget.cbModel.findText("be_polyelectrolyte") 
    206206        self.widget.cbModel.setCurrentIndex(model_index) 
     207        QtWidgets.qApp.processEvents() 
    207208 
    208209        # check the enablement of controls 
     
    242243        self.widget.show() 
    243244        # Change the category index so we have some models 
    244         category_index = self.widget.cbCategory.findText("Shape Independent") 
     245        category_index = self.widget.cbCategory.findText("Cylinder") 
    245246        self.widget.cbCategory.setCurrentIndex(category_index) 
    246247        # Change the model to one that supports structure factors 
    247         model_index = self.widget.cbModel.findText('fractal_core_shell') 
     248        model_index = self.widget.cbModel.findText('cylinder') 
    248249        self.widget.cbModel.setCurrentIndex(model_index) 
    249250 
     
    260261        self.widget.cbStructureFactor.setCurrentIndex(structure_index) 
    261262 
    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) 
     263        # We have 3 more param rows now (radius_effective is removed), and new headings 
     264        self.assertEqual(self.widget._model_model.rowCount(), rowcount+7) 
    264265 
    265266        # Switch models 
     
    12291230        model_index = self.widget.cbModel.findText("pringle") 
    12301231        self.widget.cbModel.setCurrentIndex(model_index) 
     1232        QtWidgets.qApp.processEvents() 
    12311233 
    12321234        # make sure the parameters are different than before 
Note: See TracChangeset for help on using the changeset viewer.