Commit 58c1552e authored by Srikanth Ravipati's avatar Srikanth Ravipati Committed by Peterson, Peter
Browse files

Set and unset ISIS facility

parent 5ac8a9c7
......@@ -5,6 +5,7 @@
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 +
from mantid.kernel import config
from mantid.api import mtd
from mantid.simpleapi import ReflectometryILLPreprocess
import numpy.testing
......@@ -133,4 +134,6 @@ class ReflectometryILLPreprocessTest(unittest.TestCase):
self.assertEqual(mtd.getObjectNames(), [])
if __name__ == "__main__":
config.setFacility("ISIS")
unittest.main()
config.setFacility("NONE")
Markdown is supported
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