File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-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 ..stats import ACM
4+
5+
6+ def test_ACM_inputs ():
7+ input_map = dict (
8+ ignore_exception = dict (
9+ deprecated = '1.0.0' ,
10+ nohash = True ,
11+ usedefault = True ,
12+ ),
13+ in_files = dict (mandatory = True , ),
14+ threshold = dict (usedefault = True , ),
15+ )
16+ inputs = ACM .input_spec ()
17+
18+ for key , metadata in list (input_map .items ()):
19+ for metakey , value in list (metadata .items ()):
20+ assert getattr (inputs .traits ()[key ], metakey ) == value
21+ def test_ACM_outputs ():
22+ output_map = dict (
23+ acm_neg = dict (),
24+ acm_pos = dict (),
25+ out_file = dict (),
26+ )
27+ outputs = ACM .output_spec ()
28+
29+ for key , metadata in list (output_map .items ()):
30+ for metakey , value in list (metadata .items ()):
31+ assert getattr (outputs .traits ()[key ], metakey ) == value
You can’t perform that action at this time.
0 commit comments