Skip to content

Commit c4063d4

Browse files
committed
fix packed test
1 parent 11487b8 commit c4063d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_pack.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import json
2+
from ruamel import yaml
23
import os
34
import tempfile
45
from functools import partial
@@ -26,7 +27,7 @@ def test_pack():
2627
processobj = loadingContext.loader.resolve_ref(uri)[0]
2728

2829
with open(get_data("tests/wf/expect_packed.cwl")) as packed_file:
29-
expect_packed = json.load(packed_file)
30+
expect_packed = yaml.safe_load(packed_file)
3031

3132
packed = cwltool.pack.pack(loadingContext.loader, processobj, uri, loadingContext.metadata)
3233
adjustFileObjs(packed, partial(make_relative, os.path.abspath(get_data("tests/wf"))))

0 commit comments

Comments
 (0)