cwltest.hooks

Hooks for pytest-cwl users.

Module Contents

Functions

pytest_cwl_execute_test(config, processfile, jobfile)

Execute CWL test using a Python function instead of a command line runner.

cwltest.hooks.pytest_cwl_execute_test(config, processfile, jobfile)

Execute CWL test using a Python function instead of a command line runner.

The return value is a tuple.
  • status code
  • CWL output object using plain Python objects.

Parameters:
  • processfile (str) – a path to a CWL document

  • jobfile (Optional[str]) – an optionl path to JSON/YAML input object

  • config (cwltest.utils.CWLTestConfig)

Return type:

Tuple[int, Optional[Dict[str, Any]]]