Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
3bf66ad3
Unverified
Commit
3bf66ad3
authored
Jan 20, 2021
by
Peterson, Peter
Committed by
GitHub
Jan 20, 2021
Browse files
Merge pull request #30421 from mantidproject/drilltest_unreliability
Unreliability in DrillTest
parents
c9e31dfe
d54f8b1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/Interface/ui/drill/test/DrillTest.py
View file @
3bf66ad3
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment