cwl_utils.tests.test_format
===========================

.. py:module:: cwl_utils.tests.test_format

.. autoapi-nested-parse::

   Tests of cwl_utils.file_formats.



Attributes
----------

.. autoapisummary::

   cwl_utils.tests.test_format.EDAM
   cwl_utils.tests.test_format.GX


Functions
---------

.. autoapisummary::

   cwl_utils.tests.test_format.test_check_format
   cwl_utils.tests.test_format.test_check_format_subformat
   cwl_utils.tests.test_format.test_check_format_equiv
   cwl_utils.tests.test_format.test_check_format_equiv2
   cwl_utils.tests.test_format.test_check_format_wrong_format
   cwl_utils.tests.test_format.test_check_format_wrong_format_no_ontology
   cwl_utils.tests.test_format.test_check_format_no_format
   cwl_utils.tests.test_format.test_check_format_missing_file
   cwl_utils.tests.test_format.test_check_format_no_ontology
   cwl_utils.tests.test_format.test_loading_options_graph_property_v1_0
   cwl_utils.tests.test_format.test_loading_options_graph_property_v1_1
   cwl_utils.tests.test_format.test_loading_options_graph_property_v1_2
   cwl_utils.tests.test_format.test_loading_options_missing_graph_v1_0
   cwl_utils.tests.test_format.test_loading_options_missing_graph_v1_1
   cwl_utils.tests.test_format.test_loading_options_missing_graph_v1_2
   cwl_utils.tests.test_format.test_loading_format_without_schema_v1_0


Module Contents
---------------

.. py:data:: EDAM

.. py:data:: GX

.. py:function:: test_check_format()

   Exact format equivalence test, with ontology.


.. py:function:: test_check_format_subformat()

   Test of check_format with a subformat.


.. py:function:: test_check_format_equiv()

   Test of check_format with an equivalent format.


.. py:function:: test_check_format_equiv2()

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


.. py:function:: test_check_format_wrong_format()

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


.. py:function:: test_check_format_wrong_format_no_ontology()

   Test of check_format with a non-match format.


.. py:function:: test_check_format_no_format()

   Confirm that a missing format produces the expected exception.


.. py:function:: test_check_format_missing_file()

   Confirm that a missing file produces no error.


.. py:function:: test_check_format_no_ontology()

   Confirm that precisely matching formats without an ontology still match.


.. py:function:: test_loading_options_graph_property_v1_0()

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


.. py:function:: test_loading_options_graph_property_v1_1()

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


.. py:function:: test_loading_options_graph_property_v1_2()

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


.. py:function:: test_loading_options_missing_graph_v1_0()

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


.. py:function:: test_loading_options_missing_graph_v1_1()

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


.. py:function:: test_loading_options_missing_graph_v1_2()

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


.. py:function:: test_loading_format_without_schema_v1_0()

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


