Mercurial > repos > shellac > guppy_basecaller
diff env/lib/python3.7/site-packages/cwltool/tests/test_relocate.py @ 5:9b1c78e6ba9c draft default tip
"planemo upload commit 6c0a8142489327ece472c84e558c47da711a9142"
author | shellac |
---|---|
date | Mon, 01 Jun 2020 08:59:25 -0400 (2020-06-01) |
parents | 79f47841a781 |
children |
line wrap: on
line diff
--- a/env/lib/python3.7/site-packages/cwltool/tests/test_relocate.py Thu May 14 16:47:39 2020 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -import sys -import json - -if sys.version_info[0] < 3: - from StringIO import StringIO -else: - from io import StringIO - -from cwltool.main import main - -from .util import get_data, needs_docker, temp_dir - -@needs_docker -def test_for_910(): - assert main([get_data('tests/wf/910.cwl')]) == 0 - assert main([get_data('tests/wf/910.cwl')]) == 0 - -@needs_docker -def test_for_conflict_file_names(): - stream = StringIO() - - with temp_dir() as tmp: - assert main(["--debug", "--outdir", tmp, get_data('tests/wf/conflict.cwl')], stdout=stream) == 0 - - out = json.loads(stream.getvalue()) - assert out["b1"]["basename"] == out["b2"]["basename"] - assert out["b1"]["location"] != out["b2"]["location"]