|
3 | 3 | from .util import get_data, get_main_output |
4 | 4 |
|
5 | 5 |
|
6 | | -def test_cwl_outpu_json_missing_field_v1_0() -> None: |
| 6 | +def test_cwl_output_json_missing_field_v1_0() -> None: |
7 | 7 | """Confirm that unknown outputs are propagated from cwl.output.json in CWL v1.0.""" |
8 | 8 | err_code, stdout, _ = get_main_output([get_data("tests/test-cwl-out-v1.0.cwl")]) |
9 | 9 | assert err_code == 0 |
10 | 10 | assert "foo" in json.loads(stdout) |
11 | 11 |
|
12 | 12 |
|
13 | | -def test_cwl_outpu_json_missing_field_v1_1() -> None: |
| 13 | +def test_cwl_output_json_missing_field_v1_1() -> None: |
14 | 14 | """Confirm that unknown outputs are propagated from cwl.output.json in CWL v1.1.""" |
15 | 15 | err_code, stdout, _ = get_main_output([get_data("tests/test-cwl-out-v1.1.cwl")]) |
16 | 16 | assert err_code == 0 |
17 | 17 | assert "foo" in json.loads(stdout) |
18 | 18 |
|
19 | 19 |
|
20 | | -def test_cwl_outpu_json_missing_field_v1_2() -> None: |
| 20 | +def test_cwl_output_json_missing_field_v1_2() -> None: |
21 | 21 | """Confirm that unknown outputs are propagated from cwl.output.json in CWL v1.2.""" |
22 | 22 | err_code, stdout, _ = get_main_output([get_data("tests/test-cwl-out-v1.2.cwl")]) |
23 | 23 | assert err_code == 0 |
24 | 24 | assert "foo" in json.loads(stdout) |
| 25 | + |
| 26 | + |
| 27 | +def test_cwl_output_json_missing_field_v1_3() -> None: |
| 28 | + """Confirm that unknown outputs are propagated from cwl.output.json in CWL v1.3.""" |
| 29 | + err_code, stdout, _ = get_main_output(["--enable-dev", get_data("tests/test-cwl-out-v1.3.cwl")]) |
| 30 | + assert err_code == 0 |
| 31 | + assert "foo" not in json.loads(stdout) |
0 commit comments