Changeset e90988c in sasview for src/sas/qtgui/Calculators/UnitTesting/SlitSizeCalculatorTest.py
- Timestamp:
- Dec 14, 2017 7:51:02 AM (6 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:
- 7fd20fc, 626c7c5
- Parents:
- 8353d90
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Calculators/UnitTesting/SlitSizeCalculatorTest.py
r53c771e re90988c 37 37 def testHelp(self): 38 38 """ Assure help file is shown """ 39 40 # this should not rise39 self.widget._parent = QtWidgets.QWidget() 40 self.widget._parent.showHelp = MagicMock() 41 41 self.widget.onHelp() 42 self.assertTrue(self.widget._parent.showHelp.called_once()) 43 args = self.widget._parent.showHelp.call_args 44 self.assertIn('slit_calculator_help.html', args[0][0]) 42 45 43 46 def testBrowseButton(self):
Note: See TracChangeset
for help on using the changeset viewer.