cwltest.compare

Compare utilities for CWL objects.

Module Contents

Functions

compare(expected, actual[, skip_details])

Compare two CWL objects.

exception cwltest.compare.CompareFail

Bases: Exception

Inheritance diagram of cwltest.compare.CompareFail

Compared CWL objects are not equal.

classmethod format(expected, actual, cause=None)

Load the difference details into the error message.

Parameters:
  • expected (Any)

  • actual (Any)

  • cause (Optional[Any])

Return type:

CompareFail

cwltest.compare.compare(expected, actual, skip_details=False)

Compare two CWL objects.

Parameters:
  • expected (Any)

  • actual (Any)

  • skip_details (bool)

Return type:

None