Ignore:
Timestamp:
Oct 29, 2018 4:59:44 AM (6 years ago)
Author:
piotr
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
7fb68060
Parents:
722b7d6
Message:

Allow magnetism for models with magnetic parameters defined. SASVIEW-1199

File:
1 edited

Legend:

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

    rd2007a8 rec4a143  
    177177 
    178178        # test the model combo content 
    179         self.assertEqual(self.widget.cbModel.count(), 29) 
     179        self.assertEqual(self.widget.cbModel.count(), 28) 
    180180 
    181181        # Try to change back to default 
     
    183183 
    184184        # Observe no such luck 
    185         self.assertEqual(self.widget.cbCategory.currentIndex(), 7) 
     185        self.assertEqual(self.widget.cbCategory.currentIndex(), 6) 
    186186        self.assertEqual(self.widget.cbModel.count(), 29) 
    187187 
     
    215215        #  
    216216        # Now change the model 
    217         self.widget.cbModel.setCurrentIndex(3) 
     217        self.widget.cbModel.setCurrentIndex(2) 
    218218        self.assertEqual(self.widget.cbModel.currentText(),'dab') 
    219219 
Note: See TracChangeset for help on using the changeset viewer.