diff --git a/tests/test_wrappers.py b/tests/test_wrappers.py index 9f4819af0580ac61061e6e12dfa7306be9bf779e..078f5379c2358384afbae93e1d29262ad11a8cd6 100644 --- a/tests/test_wrappers.py +++ b/tests/test_wrappers.py @@ -195,6 +195,20 @@ def test_sigloss(): assert checkResult(result.output[0], *expected) +def test_prelude(): + with asrt.disabled(), run.dryrun(), mockFSLDIR(bin=('prelude',)) as fsldir: + prelude = op.join(fsldir, 'bin', 'prelude') + result = fw.prelude(complex='complex', + out='out', + labelslices=True, + start=5) + expected = (prelude, ('--complex=complex', + '--out=out', + '--labelslices', + '--start=5')) + assert checkResult(result.output[0], *expected) + + def test_melodic(): with asrt.disabled(), run.dryrun(), mockFSLDIR(bin=('melodic',)) as fsldir: melodic = op.join(fsldir, 'bin', 'melodic')