From 44a38309a4be7eb2ab45bbb7e67b1ed482622c3c Mon Sep 17 00:00:00 2001 From: Nick Draper <nick.draper@stfc.ac.uk> Date: Mon, 26 Mar 2018 16:07:00 +0100 Subject: [PATCH] unit test fix re #22143 --- Framework/DataHandling/inc/MantidDataHandling/Load.h | 5 ++--- .../PythonInterface/test/python/mantid/api/AlgorithmTest.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Framework/DataHandling/inc/MantidDataHandling/Load.h b/Framework/DataHandling/inc/MantidDataHandling/Load.h index f09149d407b..3645c6b4066 100644 --- a/Framework/DataHandling/inc/MantidDataHandling/Load.h +++ b/Framework/DataHandling/inc/MantidDataHandling/Load.h @@ -48,10 +48,9 @@ public: /// Algorithm's version for identification overriding a virtual method int version() const override { return 1; } const std::vector<std::string> seeAlso() const override { - return {"LoadAndMerge", "LoadPreNexusLive", "LoadBBY", - "LoadDetectorsGroupingFile", "LoadFITS", "LoadInstrument", - "LoadInstrumentFromNexus", "LoadParameterFile"}; + return {"LoadNexus", "LoadRaw", "LoadBBY"}; } + /// Category const std::string category() const override { return "DataHandling"; } /// Aliases diff --git a/Framework/PythonInterface/test/python/mantid/api/AlgorithmTest.py b/Framework/PythonInterface/test/python/mantid/api/AlgorithmTest.py index 17497d1d446..2ac4ea055a8 100644 --- a/Framework/PythonInterface/test/python/mantid/api/AlgorithmTest.py +++ b/Framework/PythonInterface/test/python/mantid/api/AlgorithmTest.py @@ -22,7 +22,7 @@ class AlgorithmTest(unittest.TestCase): self.assertEquals(1, len(self._load.categories())) self.assertEquals('DataHandling', self._load.categories()[0]) self.assertEquals('', self._load.helpURL()) - self.assertEquals([], self._load.seeAlso()) + self.assertEquals(["LoadNexus", "LoadRaw", "LoadBBY"], self._load.seeAlso()) def test_get_unknown_property_raises_error(self): self.assertRaises(RuntimeError, self._load.getProperty, "NotAProperty") -- GitLab