# cwl_utils.tests.test_format

Tests of cwl_utils.file_formats.

## Attributes

`EDAM` |
`GX` |

## Functions

`test_check_format`() | Exact format equivalence test, with ontology.
`test_check_format_subformat`() | Test of check_format with a subformat.
`test_check_format_equiv`() | Test of check_format with an equivalent format.
`test_check_format_equiv2`() | Test of check_format with an equivalent format, in the reverse.
`test_check_format_wrong_format`() | Test of check_format with a non-match format with an ontology.
`test_check_format_wrong_format_no_ontology`() | Test of check_format with a non-match format.
`test_check_format_no_format`() | Confirm that a missing format produces the expected exception.
`test_check_format_missing_file`() | Confirm that a missing file produces no error.
`test_check_format_no_ontology`() | Confirm that precisely matching formats without an ontology still match.
`test_loading_options_graph_property_v1_0`() | Test that RDFLib Graph representations of $schema properties are correctly loaded, CWL v1.0.
`test_loading_options_graph_property_v1_1`() | Test that RDFLib Graph representations of $schema properties are correctly loaded, CWL v1.1.
`test_loading_options_graph_property_v1_2`() | Test that RDFLib Graph representations of $schema properties are correctly loaded, CWL v1.2.
`test_loading_options_missing_graph_v1_0`() | Affirm that v1.0 documents without $schema still produce an empty graph property.
`test_loading_options_missing_graph_v1_1`() | Affirm that v1.1 documents without $schema still produce an empty graph property.
`test_loading_options_missing_graph_v1_2`() | Affirm that v1.2 documents without $schema still produce an empty graph property.
`test_loading_format_without_schema_v1_0`() | Test that format fields without accompanying schemas are tolerated, CWL v1.0.

## Module Contents

cwl_utils.tests.test_format.EDAM

cwl_utils.tests.test_format.GX

cwl_utils.tests.test_format.test_check_format()

  Exact format equivalence test, with ontology.

  Return type:

    None

cwl_utils.tests.test_format.test_check_format_subformat()

  Test of check_format with a subformat.

  Return type:

    None

cwl_utils.tests.test_format.test_check_format_equiv()

  Test of check_format with an equivalent format.

  Return type:

    None

cwl_utils.tests.test_format.test_check_format_equiv2()

  Test of check_format with an equivalent format, in the reverse.

  Return type:

    None

cwl_utils.tests.test_format.test_check_format_wrong_format()

  Test of check_format with a non-match format with an ontology.

  Return type:

    None

cwl_utils.tests.test_format.test_check_format_wrong_format_no_ontology()

  Test of check_format with a non-match format.

  Return type:

    None

cwl_utils.tests.test_format.test_check_format_no_format()

  Confirm that a missing format produces the expected exception.

  Return type:

    None

cwl_utils.tests.test_format.test_check_format_missing_file()

  Confirm that a missing file produces no error.

  Return type:

    None

cwl_utils.tests.test_format.test_check_format_no_ontology()

  Confirm that precisely matching formats without an ontology still match.

  Return type:

    None

cwl_utils.tests.test_format.test_loading_options_graph_property_v1_0()

  Test that RDFLib Graph representations of $schema properties are correctly loaded, CWL v1.0.

  Return type:

    None

cwl_utils.tests.test_format.test_loading_options_graph_property_v1_1()

  Test that RDFLib Graph representations of $schema properties are correctly loaded, CWL v1.1.

  Return type:

    None

cwl_utils.tests.test_format.test_loading_options_graph_property_v1_2()

  Test that RDFLib Graph representations of $schema properties are correctly loaded, CWL v1.2.

  Return type:

    None

cwl_utils.tests.test_format.test_loading_options_missing_graph_v1_0()

  Affirm that v1.0 documents without $schema still produce an empty graph property.

  Return type:

    None

cwl_utils.tests.test_format.test_loading_options_missing_graph_v1_1()

  Affirm that v1.1 documents without $schema still produce an empty graph property.

  Return type:

    None

cwl_utils.tests.test_format.test_loading_options_missing_graph_v1_2()

  Affirm that v1.2 documents without $schema still produce an empty graph property.

  Return type:

    None

cwl_utils.tests.test_format.test_loading_format_without_schema_v1_0()

  Test that format fields without accompanying schemas are tolerated, CWL v1.0.

  Return type:

    None