File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2
+ from __future__ import unicode_literals
3
+ from ..misc import CalculateMedian
4
+
5
+
6
+ def test_CalculateMedian_inputs ():
7
+ input_map = dict (ignore_exception = dict (nohash = True ,
8
+ usedefault = True ,
9
+ ),
10
+ in_files = dict (),
11
+ median_file = dict (),
12
+ median_per_file = dict (usedefault = True ,
13
+ ),
14
+ )
15
+ inputs = CalculateMedian .input_spec ()
16
+
17
+ for key , metadata in list (input_map .items ()):
18
+ for metakey , value in list (metadata .items ()):
19
+ assert getattr (inputs .traits ()[key ], metakey ) == value
20
+
21
+
22
+ def test_CalculateMedian_outputs ():
23
+ output_map = dict (median_files = dict (),
24
+ )
25
+ outputs = CalculateMedian .output_spec ()
26
+
27
+ for key , metadata in list (output_map .items ()):
28
+ for metakey , value in list (metadata .items ()):
29
+ assert getattr (outputs .traits ()[key ], metakey ) == value
You can’t perform that action at this time.
0 commit comments