schema_salad.tests.test_examples
================================

.. py:module:: schema_salad.tests.test_examples

.. autoapi-nested-parse::

   Test examples.



Functions
---------

.. autoapisummary::

   schema_salad.tests.test_examples.test_schemas
   schema_salad.tests.test_examples.test_bad_schemas
   schema_salad.tests.test_examples.test_skip_bad_schemas
   schema_salad.tests.test_examples.test_self_validate
   schema_salad.tests.test_examples.test_print_rdf
   schema_salad.tests.test_examples.test_print_rdf_invalid_external_ref
   schema_salad.tests.test_examples.test_print_pre_schema
   schema_salad.tests.test_examples.test_print_pre
   schema_salad.tests.test_examples.test_print_schema_index
   schema_salad.tests.test_examples.test_print_index
   schema_salad.tests.test_examples.test_print_schema_metadata
   schema_salad.tests.test_examples.test_print_metadata
   schema_salad.tests.test_examples.test_schema_salad_doc_oneline_doc
   schema_salad.tests.test_examples.test_avro_regression
   schema_salad.tests.test_examples.test_jsonld_ctx
   schema_salad.tests.test_examples.test_idmap
   schema_salad.tests.test_examples.test_scoped_ref
   schema_salad.tests.test_examples.test_examples
   schema_salad.tests.test_examples.test_yaml_float_test
   schema_salad.tests.test_examples.test_typedsl_ref
   schema_salad.tests.test_examples.test_nested_typedsl_ref
   schema_salad.tests.test_examples.test_secondaryFile_dsl_ref
   schema_salad.tests.test_examples.test_scoped_id
   schema_salad.tests.test_examples.test_rdf_datetime
   schema_salad.tests.test_examples.test_yaml_datetime
   schema_salad.tests.test_examples.test_subscoped_id
   schema_salad.tests.test_examples.test_mixin
   schema_salad.tests.test_examples.test_fragment
   schema_salad.tests.test_examples.test_file_uri
   schema_salad.tests.test_examples.test_sourceline
   schema_salad.tests.test_examples.test_cmap
   schema_salad.tests.test_examples.test_blank_node_id
   schema_salad.tests.test_examples.test_can_use_Any
   schema_salad.tests.test_examples.test_nullable_links


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

.. py:function:: test_schemas()

.. py:function:: test_bad_schemas(caplog)

   Test that bad $schemas refs don't stop parsing.


.. py:function:: test_skip_bad_schemas(caplog)

   Test that (bad) $schemas refs are properly skipped.


.. py:function:: test_self_validate()

.. py:function:: test_print_rdf()

   Test --print-rdf.


.. py:function:: test_print_rdf_invalid_external_ref()

   Test --print-rdf when document references unfetchable external schema.


.. py:function:: test_print_pre_schema()

   Test --print-pre only schema.


.. py:function:: test_print_pre()

   Test --print-pre.


.. py:function:: test_print_schema_index()

   Test --print-index only with a schema.


.. py:function:: test_print_index()

   Test --print-index.


.. py:function:: test_print_schema_metadata()

   Test --print-metadata only for a schema.


.. py:function:: test_print_metadata()

   Test --print-metadata.


.. py:function:: test_schema_salad_doc_oneline_doc()

   Test schema-salad-doc when the 1st type has only a single doc line.


.. py:function:: test_avro_regression()

.. py:function:: test_jsonld_ctx()

.. py:function:: test_idmap()

.. py:function:: test_scoped_ref()

.. py:function:: test_examples()

.. py:function:: test_yaml_float_test()

.. py:function:: test_typedsl_ref()

.. py:function:: test_nested_typedsl_ref()

.. py:function:: test_secondaryFile_dsl_ref()

.. py:function:: test_scoped_id()

.. py:function:: test_rdf_datetime()

   Affirm that datetime objects can be serialized in makerdf().


.. py:function:: test_yaml_datetime()

   Affirm that yaml_no_ts prevents the creation of datetime objects.


.. py:function:: test_subscoped_id()

.. py:function:: test_mixin()

.. py:function:: test_fragment()

.. py:function:: test_file_uri()

.. py:function:: test_sourceline()

.. py:function:: test_cmap()

.. py:function:: test_blank_node_id()

.. py:function:: test_can_use_Any()

   Test that 'type: Any' can be used


.. py:function:: test_nullable_links()

