Skip to content

Commit

Permalink
refs #10952. Test update
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
OwenArnold committed Jan 26, 2015
1 parent 0eca72a commit 04add5e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Code/Mantid/MantidPlot/test/MantidPlotSliceViewerTest.py
Expand Up @@ -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)
Expand Down

0 comments on commit 04add5e

Please sign in to comment.