Commit c72ee7b2 authored by Owen Arnold's avatar Owen Arnold
Browse files

refs #7472. Check log error codes.

parent 069604c7
......@@ -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
Supports Markdown
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