File: test_string_id.py

package info (click to toggle)
cwltest 2.5.20241122133319-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 800 kB
  • sloc: python: 2,700; makefile: 124; sh: 89
file content (9 lines) | stat: -rw-r--r-- 316 bytes parent folder | download
1
2
3
4
5
6
7
8
9
from os import linesep as n

from .util import get_data, run_with_mock_cwl_runner


def test_list() -> None:
    args = ["--test", get_data("tests/test-data/string-id.yml"), "-l"]
    error_code, stdout, stderr = run_with_mock_cwl_runner(args)
    assert f"[1] test-string-id: Test with a string label{n}" in stdout