Mercurial > repos > shellac > guppy_basecaller
diff env/lib/python3.7/site-packages/cwltool/tests/test_target.py @ 5:9b1c78e6ba9c draft default tip
"planemo upload commit 6c0a8142489327ece472c84e558c47da711a9142"
author | shellac |
---|---|
date | Mon, 01 Jun 2020 08:59:25 -0400 |
parents | 79f47841a781 |
children |
line wrap: on
line diff
--- a/env/lib/python3.7/site-packages/cwltool/tests/test_target.py Thu May 14 16:47:39 2020 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -from cwltool.main import main -from cwltool import load_tool - -from .util import get_data, windows_needs_docker - - -@windows_needs_docker -def test_target(): - """Test --target option successful.""" - test_file = "tests/wf/scatter-wf4.cwl" - exit_code = main(['--target', 'out', get_data(test_file), - '--inp1', 'INP1', '--inp2', 'INP2']) - assert exit_code == 0 - - -def test_wrong_target(): - """Test --target option when value is wrong.""" - test_file = "tests/wf/scatter-wf4.cwl" - exit_code = main(['--target', 'dummy_target', - get_data(test_file), - '--inp1', 'INP1', '--inp2', 'INP2']) - assert exit_code == 1 - - -@windows_needs_docker -def test_target_packed(): - """Test --target option with packed workflow schema.""" - test_file = "tests/wf/scatter-wf4.json" - exit_code = main(['--target', 'out', - get_data(test_file), - '--inp1', 'INP1', '--inp2', 'INP2']) - assert exit_code == 0