Ignore:
Timestamp:
Mar 23, 2017 7:53:10 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
9934e48
Parents:
29eb947
Message:

FittingWidget? code review SASVIEW-561

File:
1 edited

Legend:

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

    r7248d75d rb1e36a3  
    114114 
    115115        # Test the resulting model 
    116         self.assertEqual(model.rowCount(), 5) 
     116        self.assertEqual(model.rowCount(), 3) 
    117117        self.assertTrue(model.item(0).isCheckable()) 
    118118        self.assertEqual(model.item(0).text(), "sld_core") 
    119         self.assertFalse(model.item(3).hasChildren()) 
    120119        self.assertEqual(model.item(1).text(), "radius") 
    121120        self.assertEqual(model.item(2).text(), "sld_solvent") 
    122         self.assertEqual(model.item(3).text(), "sld1") 
    123  
    124         self.assertEqual(model.item(4).text(), "thickness1") 
    125         self.assertTrue(model.item(4).hasChildren()) 
    126121 
    127122    def testAddSimpleParametersToModel(self): 
     
    139134 
    140135        # Test the resulting model 
    141         self.assertEqual(model.rowCount(), 5) 
     136        self.assertEqual(model.rowCount(), 3) 
    142137        self.assertTrue(model.item(0).isCheckable()) 
    143138        self.assertEqual(model.item(0).text(), "sld_core") 
Note: See TracChangeset for help on using the changeset viewer.