Skip to content
Snippets Groups Projects
Commit 46b775cc authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony
Browse files

Refs #3614 Minor fix to unit test

parent 6243a66d
No related branches found
No related tags found
Loading
......@@ -18,8 +18,8 @@ class AlgorithmTest(unittest.TestCase):
def test_alg_set_invalid_prop_raises_error(self):
alg = algorithm_mgr.create_unmanaged('Load')
alg.initialize()
args = ('Filename', 'XYZ12345.txt')
self.assertRaises(RuntimeError, alg.set_property, *args)
args = ('Filename', 'nonexistent.txt')
self.assertRaises(ValueError, alg.set_property, *args)
def test_cannot_execute_with_invalid_properties(self):
alg = algorithm_mgr.create_unmanaged('Load')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment