schema_salad.tests.test_errors
==============================

.. py:module:: schema_salad.tests.test_errors

.. autoapi-nested-parse::

   Tests of helpful error messages.



Functions
---------

.. autoapisummary::

   schema_salad.tests.test_errors.test_errors
   schema_salad.tests.test_errors.test_error_message1
   schema_salad.tests.test_errors.test_error_message2
   schema_salad.tests.test_errors.test_error_message3
   schema_salad.tests.test_errors.test_error_message4
   schema_salad.tests.test_errors.test_error_message5
   schema_salad.tests.test_errors.test_error_message7
   schema_salad.tests.test_errors.test_error_message8
   schema_salad.tests.test_errors.test_error_message9
   schema_salad.tests.test_errors.test_error_message10
   schema_salad.tests.test_errors.test_error_message11
   schema_salad.tests.test_errors.test_error_message15
   schema_salad.tests.test_errors.test_errors_previously_defined_dict_key
   schema_salad.tests.test_errors.test_bad_schema
   schema_salad.tests.test_errors.test_bad_schema2
   schema_salad.tests.test_errors.test_namespaces_type
   schema_salad.tests.test_errors.test_namespaces_undeclared
   schema_salad.tests.test_errors.test_not_a_namespace1
   schema_salad.tests.test_errors.test_not_a_namespace2
   schema_salad.tests.test_errors.test_not_a_namespace3
   schema_salad.tests.test_errors.test_schemas_type


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

.. py:function:: test_errors()

.. py:function:: test_error_message1()

.. py:function:: test_error_message2()

.. py:function:: test_error_message3()

.. py:function:: test_error_message4()

.. py:function:: test_error_message5()

.. py:function:: test_error_message7()

.. py:function:: test_error_message8()

.. py:function:: test_error_message9()

.. py:function:: test_error_message10()

.. py:function:: test_error_message11()

.. py:function:: test_error_message15()

.. py:function:: test_errors_previously_defined_dict_key()

.. py:function:: test_bad_schema()

.. py:function:: test_bad_schema2()

.. py:function:: test_namespaces_type()

   Confirm helpful error message when $namespaces is the wrong type.


.. py:function:: test_namespaces_undeclared(caplog)

   Confirm warning message a namespace is used but not declared.


.. py:function:: test_not_a_namespace1(caplog)

   Confirm no warning when relative id contains a colon but prefix doesn't look like a namespace.


.. py:function:: test_not_a_namespace2(caplog)

   Confirm no warning when relative id contains a colon but prefix doesn't look like a namespace.


.. py:function:: test_not_a_namespace3(caplog)

   Confirm no warning when relative id starts with a colon.


.. py:function:: test_schemas_type()

   Confirm helpful error message when $schemas is the wrong type.


