Changeset aadf0af1 in sasview for src/sas/qtgui/UnitTesting/PlotterTest.py
- Timestamp:
- Jan 4, 2017 2:35:08 AM (7 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:
- 570a58f9
- Parents:
- 257bd57
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/UnitTesting/PlotterTest.py
r257bd57 raadf0af1 31 31 dy=[0.1, 0.2, 0.3]) 32 32 self.data.title="Test data" 33 self.data.name="Test name" 33 34 self.data.id = 1 34 35 … … 42 43 43 44 self.assertEqual(self.plotter.data, self.data) 44 self.assertEqual(self.plotter._title, self.data. title)45 self.assertEqual(self.plotter._title, self.data.name) 45 46 self.assertEqual(self.plotter.xLabel, "$()$") 46 47 self.assertEqual(self.plotter.yLabel, "$()$") … … 70 71 def testContextMenuQuickPlot(self): 71 72 """ Test the right click menu """ 73 self.plotter.createContextMenuQuick() 72 74 actions = self.plotter.contextMenu.actions() 73 75 self.assertEqual(len(actions), 7)
Note: See TracChangeset
for help on using the changeset viewer.