Changeset 27689dc in sasview for src/sas/qtgui/Utilities/UnitTesting


Ignore:
Timestamp:
Apr 25, 2018 4:02:54 AM (6 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:
93c79b5
Parents:
3b8cc00
Message:

Updated unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Utilities/UnitTesting/AddMultEditorTest.py

    r01ef3f7 r27689dc  
    2323    HELP_DIRECTORY_LOCATION = "html" 
    2424    communicate = Communicate() 
     25    _parent = QtWidgets.QDialog() 
    2526 
    2627class AddMultEditorTest(unittest.TestCase): 
     
    156157        self.widget.cbModel2.currentText(), 
    157158        self.widget.cbOperator.currentText())) 
    158  
    159         self.assertFalse(self.widget.buttonBox.button(QtWidgets.QDialogButtonBox.Apply).isEnabled()) 
    160  
    161         self.assertTrue(self.widget.checkModel(self.widget.plugin_filename)) 
    162159 
    163160        self.assertTrue(self.widget.updateModels.called_once()) 
Note: See TracChangeset for help on using the changeset viewer.