File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
nipype/interfaces/dipy/tests Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,10 @@ def test_create_interface_specs():
78
78
assert new_interface .__name__ == "MyInterface"
79
79
current_params = new_interface ().get ()
80
80
assert len (current_params ) == 4
81
- for key , expected in zip (current_params .keys (), params ):
82
- assert key == expected [0 ]
81
+ assert 'params1' in current_params .keys ()
82
+ assert 'params2_files' in current_params .keys ()
83
+ assert 'params3' in current_params .keys ()
84
+ assert 'out_params' in current_params .keys ()
83
85
84
86
85
87
class DummyWorkflow (Workflow ):
@@ -134,6 +136,7 @@ def test_dipy_to_nipype_interface():
134
136
new_specs ().run ()
135
137
136
138
137
- # test_convert_to_traits_type()
138
- # test_create_interface_specs()
139
- # test_dipy_to_nipype_interface()
139
+ if __name__ == "__main__" :
140
+ test_convert_to_traits_type ()
141
+ test_create_interface_specs ()
142
+ test_dipy_to_nipype_interface ()
You can’t perform that action at this time.
0 commit comments