Ignore:
Timestamp:
Aug 29, 2018 10:01:23 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
9463ca2
Parents:
ce30949
git-author:
Piotr Rozyczko <rozyczko@…> (08/29/18 09:59:56)
git-committer:
Piotr Rozyczko <rozyczko@…> (08/29/18 10:01:23)
Message:

cherry picking sascalc changes from master SASVIEW-996
minor unit test fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/UnitTesting/ScalePropertiesTest.py

    r53c771e rb8080e1  
    3131        self.assertEqual(self.widget.cbX.count(), 6) 
    3232        self.assertEqual(self.widget.cbY.count(), 12) 
    33         self.assertEqual(self.widget.cbView.count(), 6) 
     33        self.assertEqual(self.widget.cbView.count(), 7) 
    3434         
    3535    def testGetValues(self): 
     
    4444        self.widget.cbView.setCurrentIndex(1) 
    4545        self.assertEqual(self.widget.getValues(), ("x", "y")) 
    46         self.widget.cbView.setCurrentIndex(5) 
     46        self.widget.cbView.setCurrentIndex(6) 
    4747        self.assertEqual(self.widget.getValues(), ("x", "y*x^(2)")) 
    4848 
Note: See TracChangeset for help on using the changeset viewer.