schema_salad.tests.util
=======================

.. py:module:: schema_salad.tests.util

.. autoapi-nested-parse::

   Shared test functions and attributes.



Attributes
----------

.. autoapisummary::

   schema_salad.tests.util.cwl_file_uri
   schema_salad.tests.util.metaschema_file_uri
   schema_salad.tests.util.basket_file_uri


Functions
---------

.. autoapisummary::

   schema_salad.tests.util.get_path
   schema_salad.tests.util.get_data
   schema_salad.tests.util.get_data_uri


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

.. py:function:: get_path(filename)

   Get the file path for a given schema file name.

   It is able to find file names in the ``schema_salad`` namespace, but
   also able to load schema files from the ``tests`` directory.


.. py:function:: get_data(filename)

   Get the file path for a given schema file name.

   It is able to find file names in the ``schema_salad`` namespace, but
   also able to load schema files from the ``tests`` directory.


.. py:function:: get_data_uri(resource_path)

   Get the file URI for tests.


.. py:data:: cwl_file_uri

.. py:data:: metaschema_file_uri

.. py:data:: basket_file_uri

