Skip to content

Commit ef8e0c7

Browse files
committed
Added test
1 parent d703434 commit ef8e0c7

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2+
from nipype.testing import assert_equal
3+
from nipype.algorithms.misc import NormalizeMaps
4+
5+
def test_NormalizeMaps_inputs():
6+
input_map = dict(in_files=dict(),
7+
in_mask=dict(mandatory=False,
8+
),
9+
)
10+
inputs = NormalizeMaps.input_spec()
11+
12+
for key, metadata in input_map.items():
13+
for metakey, value in metadata.items():
14+
yield assert_equal, getattr(inputs.traits()[key], metakey), value
15+
16+
def test_NormalizeMaps_outputs():
17+
output_map = dict(out_files=dict(),
18+
)
19+
outputs = NormalizeMaps.output_spec()
20+
21+
for key, metadata in output_map.items():
22+
for metakey, value in metadata.items():
23+
yield assert_equal, getattr(outputs.traits()[key], metakey), value
24+

0 commit comments

Comments
 (0)