Skip to content

Commit cd461fd

Browse files
committed
uri prefix location properly
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <[email protected]>
1 parent fb108d4 commit cd461fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_context.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from cwltool.factory import Factory
99
from cwltool.utils import CWLObjectType
1010
from cwltool.workflow_job import WorkflowJobStep
11+
from pathlib import Path
1112

1213
from .util import get_data, needs_docker
1314

@@ -60,7 +61,7 @@ def step_name_hook(step: WorkflowJobStep, job: CWLObjectType) -> str:
6061
result = revsort(
6162
workflow_input={
6263
"class": "File",
63-
"location": get_data("tests/wf/whale.txt"),
64+
"location": Path(get_data("tests/wf/whale.txt")).as_uri(),
6465
"format": "https://www.iana.org/assignments/media-types/text/plain",
6566
}
6667
)

0 commit comments

Comments
 (0)