From 90d96b1b2f6de269e6c1eace8a8b273c02d8e597 Mon Sep 17 00:00:00 2001 From: Jon Clucas Date: Mon, 15 Jul 2024 14:10:55 -0400 Subject: [PATCH] :white_check_mark: Update test for new `Resource` class --- CPAC/resources/tests/test_templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CPAC/resources/tests/test_templates.py b/CPAC/resources/tests/test_templates.py index 66e8c27262..0c70370f7f 100644 --- a/CPAC/resources/tests/test_templates.py +++ b/CPAC/resources/tests/test_templates.py @@ -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:" ):