cwl_utils.tests.test_graph_split
================================

.. py:module:: cwl_utils.tests.test_graph_split

.. autoapi-nested-parse::

   Test the CWL $graph document splitter tool.



Attributes
----------

.. autoapisummary::

   cwl_utils.tests.test_graph_split.URI


Functions
---------

.. autoapisummary::

   cwl_utils.tests.test_graph_split.test_graph_split
   cwl_utils.tests.test_graph_split.test_graph_split_offline
   cwl_utils.tests.test_graph_split.test_graph_split_json_offline
   cwl_utils.tests.test_graph_split.test_graph_split_bad_path
   cwl_utils.tests.test_graph_split.test_graph_split_complex1
   cwl_utils.tests.test_graph_split.test_graph_split_complex2


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

.. py:data:: URI
   :value: 'https://gist.githubusercontent.com/altairwei/6a0097db95cad23de36f825ed3b9f4b0/raw/83f332931c3093...


.. py:function:: test_graph_split(tmp_path)

   Confirm that a user provided example produces no exception.


.. py:function:: test_graph_split_offline(tmp_path)

   Confirm that a local provided example produces no exception.


.. py:function:: test_graph_split_json_offline(tmp_path)

   Confirm that a local provided example produces no exception in JSON mode.


.. py:function:: test_graph_split_bad_path()

   Expect an exception when the target directory parent does not exist.


.. py:function:: test_graph_split_complex1(tmp_path)

   Split a more complex graph with SchemaDefRequirement and $import.


.. py:function:: test_graph_split_complex2(tmp_path)

   Split another complex graph with SchemaDefRequirement and $import.


