Skip to content

Commit 39b0477

Browse files
committed
Associated test file
1 parent 814538a commit 39b0477

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2+
from nipype.testing import assert_equal
3+
from nipype.interfaces.fsl.utils import CopyGeom
4+
5+
def test_CopyGeom_inputs():
6+
input_map = dict(args=dict(argstr='%s',
7+
),
8+
dest_file=dict(argstr='%s',
9+
copyfile=True,
10+
mandatory=True,
11+
position=1,
12+
),
13+
environ=dict(nohash=True,
14+
usedefault=True,
15+
),
16+
ignore_dims=dict(argstr='-d',
17+
position='-1',
18+
),
19+
ignore_exception=dict(nohash=True,
20+
usedefault=True,
21+
),
22+
in_file=dict(argstr='%s',
23+
mandatory=True,
24+
position=0,
25+
),
26+
output_type=dict(),
27+
terminal_output=dict(nohash=True,
28+
),
29+
)
30+
inputs = CopyGeom.input_spec()
31+
32+
for key, metadata in input_map.items():
33+
for metakey, value in metadata.items():
34+
yield assert_equal, getattr(inputs.traits()[key], metakey), value
35+
36+
def test_CopyGeom_outputs():
37+
output_map = dict(out_file=dict(),
38+
)
39+
outputs = CopyGeom.output_spec()
40+
41+
for key, metadata in output_map.items():
42+
for metakey, value in metadata.items():
43+
yield assert_equal, getattr(outputs.traits()[key], metakey), value
44+

0 commit comments

Comments
 (0)