Changeset 6ee82dd in sasview for src/sas/qtgui/Perspectives
- Timestamp:
- Feb 23, 2017 9:06:41 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:
- 60af928
- Parents:
- 3f4c12f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/UnitTesting/FittingPerspectiveTest.py
rb9c4c1e1 r6ee82dd 98 98 99 99 100 def testSelectPolydispersity(self): 101 """ 102 Test if models have been loaded properly 103 :return: 104 """ 105 fittingWindow = FittingWindow(None) 106 107 #Test loading from json categories 108 fittingWindow.setModelModel("cylinder") 109 pd_index = fittingWindow.tableView_2.model().index(0,0) 110 self.assertEqual(str(pd_index.data().toString()), "Distribution of radius") 111 pd_index = fittingWindow.tableView_2.model().index(1,0) 112 self.assertEqual(str(pd_index.data().toString()), "Distribution of length") 113 100 114 def testSelectStructureFactor(self): 101 115 """
Note: See TracChangeset
for help on using the changeset viewer.