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
c72ee7b2
Commit
c72ee7b2
authored
Jul 18, 2013
by
Owen Arnold
Browse files
refs #7472. Check log error codes.
parent
069604c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Code/Mantid/scripts/test/ReflectometryQuickAuxiliaryTest.py
View file @
c72ee7b2
...
...
@@ -122,6 +122,17 @@ class ReflectometryQuickAuxiliaryTest(unittest.TestCase):
DeleteWorkspace
(
mtd
[
wsName
])
def
test_groupGet_unknown_log_error_code
(
self
):
wsName
=
"TestWorkspace"
LoadISISNexus
(
Filename
=
'POLREF00004699'
,
OutputWorkspace
=
wsName
)
errorCode
=
0
# Test with group workspace as input
self
.
assertEquals
(
errorCode
,
quick
.
groupGet
(
wsName
,
'samp'
,
'MADE-UP-LOG-NAME'
))
# Test with group workspace as input
self
.
assertEquals
(
errorCode
,
quick
.
groupGet
(
mtd
[
wsName
][
0
].
name
(),
'samp'
,
'MADE-UP-LOG-NAME'
))
if
__name__
==
'__main__'
:
unittest
.
main
()
\ No newline at end of file
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