mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
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:
BIN
docs/topics/_images/django_unittest_classes_hierarchy.png
Normal file
BIN
docs/topics/_images/django_unittest_classes_hierarchy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user