Skip to content

Commit 82e1b4c

Browse files
committed
debugged unittests
1 parent 1a76879 commit 82e1b4c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ test = [
6060
"pytest >=6.2.5",
6161
"pytest-env>=0.6.2",
6262
"pytest-cov>=2.12.1",
63+
"fileformats-medimage-extras",
6364
]
6465
docs = [
6566
"packaging",

tests/test_task.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import yaml
33
from conftest import show_cli_trace
44
import pytest
5-
import shutil
65
import logging
76
from nipype2pydra.cli import task as task_cli
87
from nipype2pydra.utils import add_to_sys_path
@@ -18,7 +17,6 @@
1817
"trait_modified",
1918
"environ",
2019
"output_type",
21-
"crop_list",
2220
]
2321

2422

@@ -48,7 +46,7 @@ def test_task_conversion(task_spec_file, cli_runner, work_dir, gen_test_conftest
4846
pydra_module = import_module(output_module_path)
4947
pydra_task = getattr(pydra_module, task_spec["task_name"])
5048
nipype_interface = getattr(
51-
import_module(task_spec["nipype_module"]), task_spec["task_name"]
49+
import_module(task_spec["nipype_module"]), task_spec["nipype_name"]
5250
)
5351

5452
nipype_trait_names = nipype_interface.input_spec().all_trait_names()

0 commit comments

Comments
 (0)