Changes in src/sas/qtgui/Plotting/UnitTesting/PlotterBaseTest.py [34f13a83:863ebca] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/UnitTesting/PlotterBaseTest.py
r34f13a83 r863ebca 124 124 125 125 actions = self.plotter.contextMenu.actions() 126 self.assertEqual(len(actions), 4)126 self.assertEqual(len(actions), 6) 127 127 128 128 # Trigger Print Image and make sure the method is called … … 147 147 self.assertTrue(self.clipboard_called) 148 148 149 # #Trigger toggle navigation bar and make sure the method is called150 #self.assertEqual(actions[4].text(), "Toggle Navigation Menu")151 #isShown = self.plotter.toolbar.isVisible()152 #self.assertTrue(isShow)153 #actions[4].trigger()154 #isShown = self.plotter.toolbar.isVisible()155 #self.assertFalse(isShow)156 #actions[4].trigger()157 #isShown = self.plotter.toolbar.isVisible()158 #self.assertTrue(isShow)149 # Trigger toggle navigation bar and make sure the method is called 150 self.assertEqual(actions[4].text(), "Toggle Navigation Menu") 151 isShown = self.plotter.toolbar.isVisible() 152 self.assertTrue(isShow) 153 actions[4].trigger() 154 isShown = self.plotter.toolbar.isVisible() 155 self.assertFalse(isShow) 156 actions[4].trigger() 157 isShown = self.plotter.toolbar.isVisible() 158 self.assertTrue(isShow) 159 159 160 160
Note: See TracChangeset
for help on using the changeset viewer.