Commit 67d2905b authored by Giovanni Di Siena's avatar Giovanni Di Siena
Browse files

Re 27995 Re-add commented out python 3 test code

parent 1426476f
......@@ -135,15 +135,13 @@ class ReflectometryBackgroundSubtractionTest(unittest.TestCase):
'OutputWorkspace': 'output'}
self._assert_run_algorithm_throws(args)
# TODO: This test fails in python 2. It can be re-added when we
# move fully to python 3.
#def test_AveragePixelFit_error_peakRange_outside_spectra(self):
# args = {'InputWorkspace' : 'workspace_with_peak',
# 'ProcessingInstructions' : '1-7',
# 'BackgroundCalculationMethod' : 'AveragePixelFit',
# 'PeakRange' : '3-9',
# 'OutputWorkspace': 'output'}
# self._assert_run_algorithm_invalid_property(args)
def test_AveragePixelFit_error_peakRange_outside_spectra(self):
args = {'InputWorkspace' : 'workspace_with_peak',
'ProcessingInstructions' : '1-7',
'BackgroundCalculationMethod' : 'AveragePixelFit',
'PeakRange' : '3-9',
'OutputWorkspace': 'output'}
self._assert_run_algorithm_invalid_property(args)
def test_AveragePixelFit_error_peakRange_two_ranges(self):
args = {'InputWorkspace' : 'workspace_with_peak',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment