cwl_utils.tests.test_parser
Test the load and save functions for CWL.
Attributes
Functions
Test cwl_version for a CommandLineTool. |
|
Test load_document for a CommandLineTool. |
|
Test load_document for a CommandLineTool in a local URI. |
|
Test load_document for a CommandLineTool in a remote URI. |
|
Test save for a list of Process objects with different cwlVersions. |
|
Test the latest parser is same as cwl_v1_2 (current latest) parser. |
|
Test loading an explicit id of a CWL document with $graph property. |
|
Test that loading the default id of a CWL document with $graph property returns the #main id. |
|
Test that loading the default id of a CWL document with $graph property and no #main id throws an error. |
|
Test that we can get all object in a $graph file. |
|
Confirm that ID map entries are not sorted during parsing, CWL v1.0. |
|
Confirm that ID map entries are not sorted during parsing, CWL v1.1. |
|
Confirm that ID map entries are not sorted during parsing, CWL v1.2. |
Module Contents
- cwl_utils.tests.test_parser.TEST_v1_0_CWL
- cwl_utils.tests.test_parser.TEST_v1_0_CWL_REMOTE = 'https://raw.githubusercontent.com/common-workflow-language/cwl-utils/main/cwl_utils/testdata/md5sum.cwl'
- cwl_utils.tests.test_parser.TEST_v1_2_CWL
- cwl_utils.tests.test_parser.yaml
- cwl_utils.tests.test_parser.test_cwl_version()
Test cwl_version for a CommandLineTool.
- Return type:
None
- cwl_utils.tests.test_parser.test_load_document()
Test load_document for a CommandLineTool.
- Return type:
None
- cwl_utils.tests.test_parser.test_load_document_with_local_uri()
Test load_document for a CommandLineTool in a local URI.
- Return type:
None
- cwl_utils.tests.test_parser.test_load_document_with_remote_uri()
Test load_document for a CommandLineTool in a remote URI.
- Return type:
None
- cwl_utils.tests.test_parser.test_save()
Test save for a list of Process objects with different cwlVersions.
- Return type:
None
- cwl_utils.tests.test_parser.test_latest_parser()
Test the latest parser is same as cwl_v1_2 (current latest) parser.
- Return type:
None
- cwl_utils.tests.test_parser.test_shortname()
- Return type:
None
- cwl_utils.tests.test_parser.test_get_id_from_graph()
Test loading an explicit id of a CWL document with $graph property.
- Return type:
None
- cwl_utils.tests.test_parser.test_get_default_id_from_graph()
Test that loading the default id of a CWL document with $graph property returns the #main id.
- Return type:
None
- cwl_utils.tests.test_parser.test_get_default_id_from_graph_without_main()
Test that loading the default id of a CWL document with $graph property and no #main id throws an error.
- Return type:
None
- cwl_utils.tests.test_parser.test_graph_load_all()
Test that we can get all object in a $graph file.
- Return type:
None
- cwl_utils.tests.test_parser.test_map_ordering_v1_0()
Confirm that ID map entries are not sorted during parsing, CWL v1.0.
- Return type:
None
- cwl_utils.tests.test_parser.test_map_ordering_v1_1()
Confirm that ID map entries are not sorted during parsing, CWL v1.1.
- Return type:
None
- cwl_utils.tests.test_parser.test_map_ordering_v1_2()
Confirm that ID map entries are not sorted during parsing, CWL v1.2.
- Return type:
None