diff --git a/docs/topics/_images/django_unittest_classes_hierarchy.png b/docs/topics/_images/django_unittest_classes_hierarchy.png new file mode 100644 index 0000000000..5f28b56ed6 Binary files /dev/null and b/docs/topics/_images/django_unittest_classes_hierarchy.png differ diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt index ef6fb3c9b3..5980740a36 100644 --- a/docs/topics/testing.txt +++ b/docs/topics/testing.txt @@ -1089,6 +1089,9 @@ TestCase Normal Python unit test classes extend a base class of :class:`unittest.TestCase`. Django provides a few extensions of this base class: +.. image:: _images/django_unittest_classes_hierarchy.png + :alt: Django hierarchy of unit testing helper classes (TestCase subclasses) + .. class:: TestCase() This class provides some additional capabilities that can be useful for testing