Skip to content

Commit ea26057

Browse files
committed
abstract CWL test: recusively validate
Fixes: #51
1 parent 785cd40 commit ea26057

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_export_abstract.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
getdefault,
66
LoadingContext,
77
)
8+
from cwltool.load_tool import recursive_resolve_and_validate_document
89
from cwltool.main import (
910
default_loader,
1011
fetch_document,
11-
resolve_and_validate_document,
1212
tool_resolver,
1313
)
1414

@@ -140,7 +140,7 @@ def _run_example(as_dict, out=None):
140140
)
141141
loadingContext.resolver = getdefault(loadingContext.resolver, tool_resolver)
142142
loadingContext, workflowobj, uri = fetch_document(out, loadingContext)
143-
loadingContext, uri = resolve_and_validate_document(
143+
loadingContext, uri = recursive_resolve_and_validate_document(
144144
loadingContext,
145145
workflowobj,
146146
uri,

0 commit comments

Comments
 (0)