Added a diagram of the hierarchy of our TestCase subclasses to the testing docs.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Ramiro Morales 2012-02-27 19:04:33 +00:00
parent 0447cc1231
commit 7061da514a
2 changed files with 3 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -1089,6 +1089,9 @@ TestCase
Normal Python unit test classes extend a base class of Normal Python unit test classes extend a base class of
:class:`unittest.TestCase`. Django provides a few extensions of this base class: :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() .. class:: TestCase()
This class provides some additional capabilities that can be useful for testing This class provides some additional capabilities that can be useful for testing