view env/lib/python3.7/site-packages/cwltool/tests/test_check.py @ 3:758bc20232e8 draft

"planemo upload commit 2a0fe2cc28b09e101d37293e53e82f61762262ec"
author shellac
date Thu, 14 May 2020 16:20:52 -0400
parents 26e78fe6e8c4
children
line wrap: on
line source

import pytest

from cwltool.main import main

from .util import get_data, needs_docker


bad_flows = [
    'tests/wf/badout1.cwl',
    'tests/wf/badout2.cwl',
    'tests/wf/badout3.cwl'
]

@needs_docker
@pytest.mark.parametrize('bad_flow', bad_flows)
def test_output_checking(bad_flow):
    assert main([get_data(bad_flow)]) == 1