Changeset a281ab8 in sasview for src/sas/qtgui/UnitTesting/DataExplorerTest.py
- Timestamp:
- Jun 15, 2016 5:57:34 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:
- 1042dba
- Parents:
- 5032ea68
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/UnitTesting/DataExplorerTest.py
r5032ea68 ra281ab8 1 1 import sys 2 2 import unittest 3 #from twisted.trial import unittest4 #from twisted.internet import reactor, defer, interfaces, threads, protocol, error5 3 6 4 from PyQt4.QtGui import * … … 27 25 def allowBatch(self): 28 26 return False 29 def setData(self, data_ list=None):27 def setData(self, data_item=None): 30 28 return None 31 29 def title(self): … … 271 269 """ 272 270 271 message="Loading Data Complete" 273 272 data_dict = {"a1":Data1D()} 273 output_data = (data_dict, message) 274 274 275 275 self.form.manager.add_data = MagicMock() … … 280 280 281 281 # Read in the file 282 self.form.loadComplete( data_dict, message="Loading Data Complete")282 self.form.loadComplete(output_data) 283 283 284 284 # "Loading data complete" no longer sent in LoadFile but in callback
Note: See TracChangeset
for help on using the changeset viewer.