Skip to content

Commit

Permalink
✅ Update test for new Resource class
Browse files Browse the repository at this point in the history
  • Loading branch information
shnizzedy committed Jul 15, 2024
1 parent c22db11 commit 90d96b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CPAC/resources/tests/test_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_packaged_path_exists(pipeline):
rpool = ResourcePool(cfg=Preconfiguration(pipeline), part_id="pytest")
rpool.ingress_pipeconfig_paths()
for resource in rpool.rpool.values():
node = next(iter(resource.values())).get("data")[0]
node = next(iter(resource.values())).data[0]
if hasattr(node.inputs, "template") and not node.inputs.template.startswith(
"s3:"
):
Expand Down

0 comments on commit 90d96b1

Please sign in to comment.