Changeset 1bc27f1 in sasview for src/sas/qtgui/Perspectives/Fitting/UnitTesting
- Timestamp:
- May 11, 2017 2:53:22 AM (8 years ago)
- 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
- Location:
- src/sas/qtgui/Perspectives/Fitting/UnitTesting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/UnitTesting/FittingPerspectiveTest.py
r83eb5208 r1bc27f1 40 40 self.assertIsInstance(self.widget, QtGui.QWidget) 41 41 self.assertIn("Fit panel", self.widget.windowTitle()) 42 self.assertEqual(self.widget.optimizer, " DREAM")42 self.assertEqual(self.widget.optimizer, "Levenberg-Marquardt") 43 43 self.assertEqual(len(self.widget.tabs), 1) 44 44 self.assertEqual(self.widget.maxIndex, 1) -
src/sas/qtgui/Perspectives/Fitting/UnitTesting/FittingWidgetTest.py
r672b8ab r1bc27f1 74 74 item = QtGui.QStandardItem("test") 75 75 76 widget_with_data = FittingWidget(dummy_manager(), data=item, id=3)76 widget_with_data = FittingWidget(dummy_manager(), data=item, tab_id=3) 77 77 78 78 self.assertEqual(widget_with_data.data, data)
Note: See TracChangeset
for help on using the changeset viewer.