Changeset 0c468bf in sasview for src/sas/qtgui/Calculators/UnitTesting
- Timestamp:
- Oct 19, 2017 9:55:59 AM (7 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:
- 1420066
- Parents:
- f0bb711
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Calculators/UnitTesting/DataOperationUtilityTest.py
rd5c5d3d r0c468bf 135 135 136 136 137 # @patch('DataOperationUtilityPanel.')138 137 def testOnCompute(self): 139 138 """ Test onCompute function """ … … 163 162 164 163 self.assertTrue(self.widget.onPrepareOutputData.called_once()) 165 166 # GuiManager.updateModelFromDataOperationPanel167 164 168 165 def testOnSelectData1(self): … … 283 280 def testCheckChosenData(self): 284 281 """ Test check of data compatibility """ 282 # set the 2 following to True since we want to check 283 # the compatibility of dimensions 284 self.widget.data1OK = True 285 self.widget.data2OK = True 286 285 287 # Case 1: incompatible dimensions 286 288 self.widget.data1 = Data1D(x=[1.0, 2.0, 3.0], y=[11.0, 12.0, 13.0],
Note: See TracChangeset
for help on using the changeset viewer.