diff --git a/Code/Mantid/Testing/SystemTests/tests/analysis/LoadVesuvioTest.py b/Code/Mantid/Testing/SystemTests/tests/analysis/LoadVesuvioTest.py index 4b5923af8a7f..49ec5b21697c 100644 --- a/Code/Mantid/Testing/SystemTests/tests/analysis/LoadVesuvioTest.py +++ b/Code/Mantid/Testing/SystemTests/tests/analysis/LoadVesuvioTest.py @@ -102,7 +102,7 @@ def test_foilin_mode_gives_expected_numbers(self): self.assertAlmostEqual(37594.0, evs_raw.readY(0)[1], places=DIFF_PLACES) self.assertAlmostEqual(193.89172236070317, evs_raw.readE(0)[1], places=DIFF_PLACES) - def test_using_ip_file_adjusts_instrument_and_attaches_parameters(self): + def test_using_ip_file_adjusts_instrument_and_attaches_parameters_in_difference_mode(self): self._run_load("14188", "3", "SingleDifference","IP0005.dat") # Check some data @@ -112,6 +112,16 @@ def test_using_ip_file_adjusts_instrument_and_attaches_parameters(self): self.assertEqual(1, len(param)) self.assertAlmostEqual(-0.4157, param[0],places=4) + def test_using_ip_file_adjusts_instrument_and_attaches_parameters_in_foil_mode(self): + self._run_load("14188", "3", "FoilOut","IP0005.dat") + + # Check some data + evs_raw = mtd[self.ws_name] + det0 = evs_raw.getDetector(0) + param = det0.getNumberParameter("t0") + self.assertEqual(1, len(param)) + self.assertAlmostEqual(-0.4157, param[0],places=4) + def test_sumspectra_set_to_true_gives_single_spectra_summed_over_all_inputs(self): self._run_load("14188", "135-142", "SingleDifference","IP0005.dat",sum=True) evs_raw = mtd[self.ws_name]