Skip to content

Commit da38da9

Browse files
committed
Use fractal_task_tools in test
1 parent 92b8584 commit da38da9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/tasks/test_unit_task.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_run_fractal_tasks(tmp_path, testdata_path, monkeypatch):
3939
interface
4040
"""
4141

42-
import fractal_tasks_core.tasks._utils
42+
import fractal_task_tools.task_wrapper
4343

4444
# Write arguments to a file
4545
args = {}
@@ -70,12 +70,12 @@ def __init__(self):
7070
return Args()
7171

7272
monkeypatch.setattr(
73-
"fractal_tasks_core.tasks._utils.ArgumentParser",
73+
"fractal_task_tools.task_wrapper.ArgumentParser",
7474
MockArgumentParser,
7575
)
7676

7777
# Run the task
78-
out = fractal_tasks_core.tasks._utils.run_fractal_task(
78+
out = fractal_task_tools.task_wrapper.run_fractal_task(
7979
task_function=cellvoyager_to_ome_zarr_init
8080
)
8181

0 commit comments

Comments
 (0)