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

TEST: rudimentary update_fsl_package unit test

parent ef2bad14
No related branches found
No related tags found
1 merge request!45New update_fsl_package script
#!/usr/bin/env python
import os
import os.path as op
import tempfile
import subprocess as sp
def test_update_fsl_package():
fsldir = os.environ['FSLDIR']
cmd = op.join(fsldir, 'share', 'fsl', 'sbin', 'update_fsl_package')
sp.run(f'{cmd} -a -d -y -e --dry-run', check=True)
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