Skip to content

Commit

Permalink
Fix nested test values
Browse files Browse the repository at this point in the history
  • Loading branch information
stxue1 committed Nov 11, 2023
1 parent a433670 commit 6ae4546
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/toil/test/cwl/cwlTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,11 +659,12 @@ def _expected_load_contents_output(cls, out_dir):

@staticmethod
def _expected_colon_output(outDir):
path = os.path.join(outDir, "A%3AGln2Cys_result")
loc = "file://" + path
path = os.path.join(outDir, "A:Gln2Cys_result")
loc = "file://" + os.path.join(outDir, "A%3AGln2Cys_result")
return {
"result": {
"location": loc,
"path": path,
"basename": "A:Gln2Cys_result",
"class": "Directory",
"listing": [
Expand All @@ -673,7 +674,7 @@ def _expected_colon_output(outDir):
"basename": "whale.txt",
"checksum": "sha1$327fc7aedf4f6b69a42a7c8b808dc5a7aff61376",
"size": 1111,
"path": path
"path": f"{path}/whale.txt"
}
],
}
Expand Down

0 comments on commit 6ae4546

Please sign in to comment.