Changeset ff49d4d in sasview for src/sas/qtgui/UnitTesting/GuiManagerTest.py
- Timestamp:
- Aug 5, 2016 9:01:43 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:
- 51b2b51
- Parents:
- af7078b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/UnitTesting/GuiManagerTest.py
r0cd8612 rff49d4d 16 16 from AboutBox import AboutBox 17 17 from WelcomePanel import WelcomePanel 18 from IPythonWidget import IPythonWidget 18 19 19 20 from GuiManager import GuiManager … … 85 86 self.assertIn(message_logged, self.manager.logDockWidget.widget().toPlainText()) 86 87 88 def testConsole(self): 89 """ 90 Test the docked QtConsole 91 """ 92 # Invoke the console action 93 self.manager.actionPython_Shell_Editor() 94 95 # Test the widegt properties 96 self.assertIsInstance(self.manager.ipDockWidget, QDockWidget) 97 self.assertIsInstance(self.manager.ipDockWidget.widget(), IPythonWidget) 98 self.assertEqual(self.manager._workspace.dockWidgetArea(self.manager.ipDockWidget), Qt.RightDockWidgetArea) 99 87 100 def testUpdatePerspective(self): 88 101 """
Note: See TracChangeset
for help on using the changeset viewer.