Unverified Commit 3bf66ad3 authored by Peterson, Peter's avatar Peterson, Peter Committed by GitHub
Browse files

Merge pull request #30421 from mantidproject/drilltest_unreliability

Unreliability in DrillTest
parents c9e31dfe d54f8b1e
......@@ -135,10 +135,6 @@ class DrillTest(unittest.TestCase):
###########################################################################
def setUp(self):
self.facility = config['default.facility']
self.instrument = config['default.instrument']
config['default.facility'] = "ILL"
config['default.instrument'] = "D11"
# avoid popup messages
patch = mock.patch('Interface.ui.drill.view.DrillView.QMessageBox')
self.mMessageBox = patch.start()
......@@ -168,6 +164,11 @@ class DrillTest(unittest.TestCase):
self.view.isHidden = mock.Mock()
self.view.isHidden.return_value = False
self.facility = config['default.facility']
self.instrument = config['default.instrument']
config['default.facility'] = "ILL"
config['default.instrument'] = "D11"
def tearDown(self):
config['default.facility'] = self.facility
config['default.instrument'] = self.instrument
......
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