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():
7878 assert new_interface .__name__ == "MyInterface"
7979 current_params = new_interface ().get ()
8080 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 ()
8385
8486
8587class DummyWorkflow (Workflow ):
@@ -134,6 +136,7 @@ def test_dipy_to_nipype_interface():
134136 new_specs ().run ()
135137
136138
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