Skip to content

Commit 9b1e928

Browse files
committed
from random dict to static test
1 parent 757a6f4 commit 9b1e928

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

nipype/interfaces/dipy/tests/test_base.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff 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

8587
class 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()

0 commit comments

Comments
 (0)