diff options
author | Picca Frédéric-Emmanuel <picca@debian.org> | 2017-10-07 07:59:01 +0200 |
---|---|---|
committer | Picca Frédéric-Emmanuel <picca@debian.org> | 2017-10-07 07:59:01 +0200 |
commit | bfa4dba15485b4192f8bbe13345e9658c97ecf76 (patch) | |
tree | fb9c6e5860881fbde902f7cbdbd41dc4a3a9fb5d /silx/gui/plot/test/testPlotWindow.py | |
parent | f7bdc2acff3c13a6d632c28c4569690ab106eed7 (diff) |
New upstream version 0.6.0+dfsg
Diffstat (limited to 'silx/gui/plot/test/testPlotWindow.py')
-rw-r--r-- | silx/gui/plot/test/testPlotWindow.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/silx/gui/plot/test/testPlotWindow.py b/silx/gui/plot/test/testPlotWindow.py index 5afd53a..24d840b 100644 --- a/silx/gui/plot/test/testPlotWindow.py +++ b/silx/gui/plot/test/testPlotWindow.py @@ -26,7 +26,7 @@ __authors__ = ["T. Vincent"] __license__ = "MIT" -__date__ = "05/12/2016" +__date__ = "27/06/2017" import doctest @@ -84,10 +84,10 @@ class TestPlotWindow(TestCaseQt): self.plot.setLimits(1, 100, 1, 100) checkList = [ # QAction, Plot state getter - (self.plot.xAxisAutoScaleAction, self.plot.isXAxisAutoScale), - (self.plot.yAxisAutoScaleAction, self.plot.isYAxisAutoScale), - (self.plot.xAxisLogarithmicAction, self.plot.isXAxisLogarithmic), - (self.plot.yAxisLogarithmicAction, self.plot.isYAxisLogarithmic), + (self.plot.xAxisAutoScaleAction, self.plot.getXAxis().isAutoScale), + (self.plot.yAxisAutoScaleAction, self.plot.getYAxis().isAutoScale), + (self.plot.xAxisLogarithmicAction, self.plot.getXAxis()._isLogarithmic), + (self.plot.yAxisLogarithmicAction, self.plot.getYAxis()._isLogarithmic), (self.plot.gridAction, self.plot.getGraphGrid), ] @@ -121,9 +121,9 @@ class TestPlotWindow(TestCaseQt): def testToolYAxisOrigin(self): self.plot.toolBar() self.plot.yAxisInvertedButton.setYAxisUpward() - self.assertFalse(self.plot.isYAxisInverted()) + self.assertFalse(self.plot.getYAxis().isInverted()) self.plot.yAxisInvertedButton.setYAxisDownward() - self.assertTrue(self.plot.isYAxisInverted()) + self.assertTrue(self.plot.getYAxis().isInverted()) def suite(): |