Ignore:
Timestamp:
Apr 6, 2017 5:58:54 AM (8 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:
d7ff531
Parents:
454670d
Message:

Updated/fixed unit tests after recent functionality changes

File:
1 edited

Legend:

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

    r811bec1 r2155824  
    9191        self.widget.setData([item]) 
    9292 
    93         # Look at the data in tab 
    94         self.assertEqual(self.widget._model_item, item) 
    95  
    9693        # First tab should accept data 
    9794        self.assertEqual(len(self.widget.tabs), 1) 
     
    103100        self.assertEqual(len(self.widget.tabs), 2) 
    104101 
     102        # Add two more items in a list 
     103        self.widget.setData([item, item]) 
     104 
     105        # Check for 4 tabs 
     106        self.assertEqual(len(self.widget.tabs), 4) 
     107 
    105108 
    106109if __name__ == "__main__": 
Note: See TracChangeset for help on using the changeset viewer.