Skip to content
Snippets Groups Projects
Commit 3ae5fef8 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

TEST: test runfsl with non-fsl command

parent cc5d6ffc
No related branches found
No related tags found
No related merge requests found
......@@ -233,6 +233,10 @@ def test_runfsl():
fslplatform.fsldir = fsldir
assert run.runfsl('fslhd').strip() == 'fsldir'
# non-FSL command - should error
with pytest.raises(FileNotFoundError):
run.runfsl('ls')
# FSLDEVDIR should take precedence
fsldevdir = './fsldev'
fslhd = op.join(fsldevdir, 'bin', 'fslhd')
......
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