Skip to content

Commit 0078ca2

Browse files
committed
fixed up case of interfaces in tests
1 parent ab0e542 commit 0078ca2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,12 +253,12 @@ def auto_gen_test(cmd_name: str, output_dir: Path, log_errors: bool, pkg_version
253253
from fileformats.generic import File, Directory, FsObject # noqa
254254
from fileformats.medimage import Nifti1 # noqa
255255
from fileformats.medimage_mrtrix3 import ImageFormat, ImageIn, Tracks # noqa
256-
from pydra.tasks.mrtrix3.{pkg_version} import {cmd_name}
256+
from pydra.tasks.mrtrix3.{pkg_version} import {pascal_case_task_name(cmd_name)}
257257
258258
259259
def test_{cmd_name.lower()}(tmp_path, cli_parse_only):
260260
261-
task = {cmd_name}(
261+
task = {pascal_case_task_name(cmd_name)}(
262262
"""
263263
input_fields = attrs.fields(type(task.inputs))
264264
output_fields = attrs.fields(make_klass(task.output_spec))

0 commit comments

Comments
 (0)