Ignore:
Timestamp:
Oct 25, 2017 4:23:01 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:
dc57b4f, 02f1d12, fca1f50
Parents:
d3475fe
Message:

Fixed failing unit tests

File:
1 edited

Legend:

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

    r7ace296 rf7d14a1  
    100100        delegate = fittingWindow.lstPoly.itemDelegate() 
    101101        self.assertEqual(len(delegate.POLYDISPERSE_FUNCTIONS), 5) 
    102         self.assertEqual(delegate.editableParameters(), [1, 2, 3, 4, 5]) 
     102        self.assertEqual(delegate.editableParameters(), [2, 3, 4, 5]) 
    103103        self.assertEqual(delegate.poly_function, 6) 
    104104        self.assertIsInstance(delegate.combo_updated, QtCore.pyqtBoundSignal) 
     
    629629        updateModelItem(item, [test_data], "test") 
    630630        # Force same data into logic 
    631         self.widget.logic.data = item 
     631        self.widget.data = item 
    632632        category_index = self.widget.cbCategory.findText("Sphere") 
    633633        self.widget.cbCategory.setCurrentIndex(category_index) 
     
    678678        updateModelItem(item, [test_data], "test") 
    679679        # Force same data into logic 
    680         self.widget.logic.data = item 
     680        self.widget.data = item 
    681681        category_index = self.widget.cbCategory.findText("Sphere") 
    682682        self.widget.cbCategory.setCurrentIndex(category_index) 
Note: See TracChangeset for help on using the changeset viewer.