Changeset b8080e1 in sasview for src/sas/qtgui/Plotting/UnitTesting/ScalePropertiesTest.py
- Timestamp:
- Aug 29, 2018 10:01:23 AM (6 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/UnitTesting/ScalePropertiesTest.py
r53c771e rb8080e1 31 31 self.assertEqual(self.widget.cbX.count(), 6) 32 32 self.assertEqual(self.widget.cbY.count(), 12) 33 self.assertEqual(self.widget.cbView.count(), 6)33 self.assertEqual(self.widget.cbView.count(), 7) 34 34 35 35 def testGetValues(self): … … 44 44 self.widget.cbView.setCurrentIndex(1) 45 45 self.assertEqual(self.widget.getValues(), ("x", "y")) 46 self.widget.cbView.setCurrentIndex( 5)46 self.widget.cbView.setCurrentIndex(6) 47 47 self.assertEqual(self.widget.getValues(), ("x", "y*x^(2)")) 48 48
Note: See TracChangeset
for help on using the changeset viewer.