From 04add5e84b35260c850a1ee9a1238d0ea7b8b960 Mon Sep 17 00:00:00 2001 From: Owen Arnold Date: Mon, 26 Jan 2015 12:08:21 +0000 Subject: [PATCH] refs #10952. Test update No peaks presenter to zoom in on. Renaming the workspace results in that workspace being removed from the PeaksViewer (correct behaviour now). So the PeaksPresenter obtained previously is None. --- Code/Mantid/MantidPlot/test/MantidPlotSliceViewerTest.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/Code/Mantid/MantidPlot/test/MantidPlotSliceViewerTest.py b/Code/Mantid/MantidPlot/test/MantidPlotSliceViewerTest.py index ec0d909fa890..734da230cc4f 100644 --- a/Code/Mantid/MantidPlot/test/MantidPlotSliceViewerTest.py +++ b/Code/Mantid/MantidPlot/test/MantidPlotSliceViewerTest.py @@ -161,9 +161,6 @@ def test_showPeakOverlays(self): # Set the Foreground Colour peaksPresenter.setForegroundColor(QtGui.QColor(255, 0, 0, 255)) - - # Check that it responds to changed workspaces - RenameWorkspace('pw',OutputWorkspace='pw_renamed') # Zoom in on peak. peaksPresenter.zoomToPeak(0)