Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
birajstha committed Oct 2, 2024
1 parent b28bdd3 commit ac857f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CPAC/pipeline/test/test_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def test_ingress_pipeconfig_data(pipe_config, bids_dir, test_dir):

rpool = ResourcePool(name=unique_id, cfg=cfg)

rpool = ingress_pipeconfig_paths(cfg, rpool, sub_data_dct, unique_id)
wf, rpool = ingress_pipeconfig_paths(wf, cfg, rpool, sub_data_dct, unique_id)

rpool.gather_pipes(wf, cfg, all=True)

Expand Down
4 changes: 2 additions & 2 deletions CPAC/resources/tests/test_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def test_packaged_path_exists(pipeline):
Check that all local templates are included in image at at
least one resolution.
"""
rpool = ingress_pipeconfig_paths(
Preconfiguration(pipeline), ResourcePool(), "pytest"
wf, rpool = ingress_pipeconfig_paths(
wf, Preconfiguration(pipeline), ResourcePool(), "pytest"
)
for resource in rpool.rpool.values():
node = next(iter(resource.values())).get("data")[0]
Expand Down

0 comments on commit ac857f4

Please sign in to comment.