diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2012-02-27 19:04:33 +0000 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2012-02-27 19:04:33 +0000 |
| commit | 7061da514ada660a7b6c34e7eccf3940afec67fa (patch) | |
| tree | f442589aaa30a89c3f94f0d1c3a3cee97ed4b702 | |
| parent | 0447cc123118c4740ccc6e25914f0e30308da55e (diff) | |
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
| -rw-r--r-- | docs/topics/_images/django_unittest_classes_hierarchy.png | bin | 0 -> 11757 bytes | |||
| -rw-r--r-- | docs/topics/testing.txt | 3 |
2 files changed, 3 insertions, 0 deletions
diff --git a/docs/topics/_images/django_unittest_classes_hierarchy.png b/docs/topics/_images/django_unittest_classes_hierarchy.png Binary files differnew file mode 100644 index 0000000000..5f28b56ed6 --- /dev/null +++ b/docs/topics/_images/django_unittest_classes_hierarchy.png 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 |
