Ignore:
Timestamp:
May 11, 2017 2:53:22 AM (8 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:
d60da0c
Parents:
672b8ab
Message:

Code review fixes SASVIEW-588
Pylint related fixes in Perspectives/Fitting?

Location:
src/sas/qtgui/Perspectives/Fitting/UnitTesting
Files:
2 edited

Legend:

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

    r83eb5208 r1bc27f1  
    4040        self.assertIsInstance(self.widget, QtGui.QWidget) 
    4141        self.assertIn("Fit panel", self.widget.windowTitle()) 
    42         self.assertEqual(self.widget.optimizer, "DREAM") 
     42        self.assertEqual(self.widget.optimizer, "Levenberg-Marquardt") 
    4343        self.assertEqual(len(self.widget.tabs), 1) 
    4444        self.assertEqual(self.widget.maxIndex, 1) 
  • src/sas/qtgui/Perspectives/Fitting/UnitTesting/FittingWidgetTest.py

    r672b8ab r1bc27f1  
    7474        item = QtGui.QStandardItem("test") 
    7575 
    76         widget_with_data = FittingWidget(dummy_manager(), data=item, id=3) 
     76        widget_with_data = FittingWidget(dummy_manager(), data=item, tab_id=3) 
    7777 
    7878        self.assertEqual(widget_with_data.data, data) 
Note: See TracChangeset for help on using the changeset viewer.