Ignore:
Timestamp:
Jun 9, 2017 3:26:39 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:
125c4be
Parents:
919d47c
Message:

Removed smelly duck typing

File:
1 edited

Legend:

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

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