Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 45618bc

Browse files
committed
make specs
1 parent a83aef0 commit 45618bc

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2+
from ..utils import TckSift2
3+
4+
5+
def test_TckSift2_inputs():
6+
input_map = dict(
7+
args=dict(
8+
argstr="%s",
9+
),
10+
environ=dict(
11+
nohash=True,
12+
usedefault=True,
13+
),
14+
in_file=dict(
15+
argstr="%s",
16+
extensions=None,
17+
mandatory=True,
18+
position=-3,
19+
),
20+
in_fod=dict(
21+
argstr="%s",
22+
extensions=None,
23+
mandatory=True,
24+
position=-2,
25+
),
26+
out_weights=dict(
27+
argstr="%s",
28+
extensions=None,
29+
mandatory=True,
30+
position=-1,
31+
),
32+
)
33+
inputs = TckSift2.input_spec()
34+
35+
for key, metadata in list(input_map.items()):
36+
for metakey, value in list(metadata.items()):
37+
assert getattr(inputs.traits()[key], metakey) == value
38+
39+
40+
def test_TckSift2_outputs():
41+
output_map = dict(
42+
out_weights=dict(
43+
extensions=None,
44+
),
45+
)
46+
outputs = TckSift2.output_spec()
47+
48+
for key, metadata in list(output_map.items()):
49+
for metakey, value in list(metadata.items()):
50+
assert getattr(outputs.traits()[key], metakey) == value

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /