File: test_check.py

package info (click to toggle)
cwltool 1.0.20181217162649%2Bdfsg-10
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,632 kB
  • sloc: python: 11,008; makefile: 153; sh: 22
file content (17 lines) | stat: -rw-r--r-- 330 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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