From b355f82bc1640501fab1239593082638f00e8480 Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" <1330696+mr-c@users.noreply.github.com> Date: Sat, 4 Nov 2023 11:57:47 +0100 Subject: [PATCH] abstract CWL test: recusively validate Fixes: #51 --- tests/test_export_abstract.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_export_abstract.py b/tests/test_export_abstract.py index a1ebe67..a984c93 100644 --- a/tests/test_export_abstract.py +++ b/tests/test_export_abstract.py @@ -5,10 +5,10 @@ getdefault, LoadingContext, ) +from cwltool.load_tool import recursive_resolve_and_validate_document from cwltool.main import ( default_loader, fetch_document, - resolve_and_validate_document, tool_resolver, ) @@ -140,7 +140,7 @@ def _run_example(as_dict, out=None): ) loadingContext.resolver = getdefault(loadingContext.resolver, tool_resolver) loadingContext, workflowobj, uri = fetch_document(out, loadingContext) - loadingContext, uri = resolve_and_validate_document( + loadingContext, uri = recursive_resolve_and_validate_document( loadingContext, workflowobj, uri,