From 7061da514ada660a7b6c34e7eccf3940afec67fa Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Mon, 27 Feb 2012 19:04:33 +0000 Subject: 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 --- .../_images/django_unittest_classes_hierarchy.png | Bin 0 -> 11757 bytes docs/topics/testing.txt | 3 +++ 2 files changed, 3 insertions(+) create mode 100644 docs/topics/_images/django_unittest_classes_hierarchy.png (limited to 'docs') 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 -- cgit v1.3