schema_salad.tests.test_python_codegen
======================================

.. py:module:: schema_salad.tests.test_python_codegen


Functions
---------

.. autoapisummary::

   schema_salad.tests.test_python_codegen.test_safe_identifiers
   schema_salad.tests.test_python_codegen.test_cwl_gen
   schema_salad.tests.test_python_codegen.test_meta_schema_gen
   schema_salad.tests.test_python_codegen.test_meta_schema_gen_up_to_date
   schema_salad.tests.test_python_codegen.test_meta_schema_gen_no_base
   schema_salad.tests.test_python_codegen.python_codegen
   schema_salad.tests.test_python_codegen.test_default_parser_info
   schema_salad.tests.test_python_codegen.test_parser_info
   schema_salad.tests.test_python_codegen.test_use_of_package_for_parser_info
   schema_salad.tests.test_python_codegen.test_graph_property
   schema_salad.tests.test_python_codegen.test_graph_property_cache
   schema_salad.tests.test_python_codegen.test_graph_property_empty_schema


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

.. py:function:: test_safe_identifiers()

   Affirm correct construction of identifiers safe for Python.


.. py:function:: test_cwl_gen(tmp_path)

.. py:function:: test_meta_schema_gen(tmp_path)

.. py:function:: test_meta_schema_gen_up_to_date(tmp_path)

.. py:function:: test_meta_schema_gen_no_base(tmp_path)

.. py:function:: python_codegen(file_uri, target, parser_info = None, package = None)

.. py:function:: test_default_parser_info(tmp_path)

.. py:function:: test_parser_info(tmp_path)

.. py:function:: test_use_of_package_for_parser_info(tmp_path)

.. py:function:: test_graph_property()

   Test the RDFLib Graph representation of the `$schemas` directive.


.. py:function:: test_graph_property_cache()

   Test that LoadingOptions properly cache the `$schemas` RDFLib Graph representations.


.. py:function:: test_graph_property_empty_schema()

   Test that an empty RDFLib Graph is returned when not `$schemas` directive is present.


