schema_salad.tests.test_subtypes
================================

.. py:module:: schema_salad.tests.test_subtypes

.. autoapi-nested-parse::

   Confirm subtypes.



Attributes
----------

.. autoapisummary::

   schema_salad.tests.test_subtypes.types


Functions
---------

.. autoapisummary::

   schema_salad.tests.test_subtypes.test_subtypes
   schema_salad.tests.test_subtypes.test_avro_loading_subtype
   schema_salad.tests.test_subtypes.test_avro_loading_subtype_bad
   schema_salad.tests.test_subtypes.test_subtypes_nested
   schema_salad.tests.test_subtypes.test_subtypes_nested_bad
   schema_salad.tests.test_subtypes.test_subtypes_recursive
   schema_salad.tests.test_subtypes.test_subtypes_union
   schema_salad.tests.test_subtypes.test_subtypes_union_bad


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

.. py:data:: types

.. py:function:: test_subtypes(old, new, result)

   Test is_subtype() function.


.. py:function:: test_avro_loading_subtype()

   Confirm conversion of SALAD style names to avro when overriding.


.. py:function:: test_avro_loading_subtype_bad()

   Confirm subtype error when overriding incorrectly.


.. py:function:: test_subtypes_nested()

   Confirm correct subtype handling on a nested type definition.


.. py:function:: test_subtypes_nested_bad()

   Confirm subtype error when overriding incorrectly in nested types.


.. py:function:: test_subtypes_recursive()

   Confirm correct subtype handling on a recursive type definition.


.. py:function:: test_subtypes_union()

   Confirm correct subtype handling on an union type definition.


.. py:function:: test_subtypes_union_bad()

   Confirm subtype error when overriding incorrectly in array types.


