Skip to content

Commit f75efb6

Browse files
committed
extended tests
1 parent 1b29133 commit f75efb6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

nipype/interfaces/fsl/tests/test_Level1Design.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os
2+
from nose.tools import assert_true
23
from ...base import Undefined
34
from ..model import Level1Design
45

@@ -9,4 +10,11 @@ def test_level1design():
910
contrasts = Undefined
1011
usetd = False
1112
do_tempfilter = False
12-
return Level1Design._create_ev_files(l,os.getcwd(),runinfo,runidx,usetd,contrasts,do_tempfilter,"hrf")
13+
output_num, output_txt = Level1Design._create_ev_files(l,os.getcwd(),runinfo,runidx,usetd,contrasts,do_tempfilter,"hrf")
14+
yield assert_true, "set fmri(convolve1) 3" in output_txt
15+
output_num, output_txt = Level1Design._create_ev_files(l,os.getcwd(),runinfo,runidx,usetd,contrasts,do_tempfilter,"dgamma")
16+
yield assert_true, "set fmri(convolve1) 3" in output_txt
17+
output_num, output_txt = Level1Design._create_ev_files(l,os.getcwd(),runinfo,runidx,usetd,contrasts,do_tempfilter,"gamma")
18+
yield assert_true, "set fmri(convolve1) 2" in output_txt
19+
output_num, output_txt = Level1Design._create_ev_files(l,os.getcwd(),runinfo,runidx,usetd,contrasts,do_tempfilter,"none")
20+
yield assert_true, "set fmri(convolve1) 0" in output_txt

0 commit comments

Comments
 (0)