Changeset 144fe21 in sasview for src/sas/qtgui/Plotting/UnitTesting/PlotterTest.py
- Timestamp:
- Jul 26, 2018 5:30:15 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- dc71408
- Parents:
- e793f62
- git-author:
- Piotr Rozyczko <rozyczko@…> (07/26/18 05:28:51)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (07/26/18 05:30:15)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/UnitTesting/PlotterTest.py
r63319b0 r144fe21 104 104 actions = self.plotter.contextMenu.actions() 105 105 self.assertEqual(len(actions), 7) 106 107 # Trigger Save Image and make sure the method is called108 self.assertEqual(actions[0].text(), "Save Image")109 self.plotter.toolbar.save_figure = MagicMock()110 actions[0].trigger()111 self.assertTrue(self.plotter.toolbar.save_figure.called)112 106 113 107 # Trigger Print Image and make sure the method is called
Note: See TracChangeset
for help on using the changeset viewer.