Ignore:
Timestamp:
Oct 25, 2017 11:00:03 AM (7 years ago)
Author:
Tim Snow <tim.snow@…>
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:
02c11b04, fca1f50, 6cbf8a5
Parents:
e00b76e
Message:

Fixed unit test

Initially I also had this test passing, however, after deleting (and rebuilding) the main build directory it began failing. This change does reflect the current code present in the Perspectives/Fitting/ViewDelegate?.py file.

File:
1 edited

Legend:

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

    re00b76e r9ea43c82  
    100100        delegate = fittingWindow.lstPoly.itemDelegate() 
    101101        self.assertEqual(len(delegate.POLYDISPERSE_FUNCTIONS), 5) 
    102         self.assertEqual(delegate.editableParameters(), [2, 3, 4, 5]) 
     102        self.assertEqual(delegate.editableParameters(), [1, 2, 3, 4, 5]) 
    103103        self.assertEqual(delegate.poly_function, 6) 
    104104        self.assertIsInstance(delegate.combo_updated, QtCore.pyqtBoundSignal) 
Note: See TracChangeset for help on using the changeset viewer.