From 9e5ada79bf2d25fa862babe74517a6c7b5b89968 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 29 Dec 2012 10:35:12 -0500 Subject: [1.5.x] Fixed broken links, round 4. refs #19516 Backport of 067505ad19 from master --- docs/topics/testing/overview.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs/topics/testing') diff --git a/docs/topics/testing/overview.txt b/docs/topics/testing/overview.txt index b748a1c7db..128d730a1d 100644 --- a/docs/topics/testing/overview.txt +++ b/docs/topics/testing/overview.txt @@ -850,6 +850,9 @@ Normal Python unit test classes extend a base class of Hierarchy of Django unit testing classes +Regardless of the version of Python you're using, if you've installed +``unittest2``, :mod:`django.utils.unittest` will point to that library. + SimpleTestCase ~~~~~~~~~~~~~~ @@ -1371,7 +1374,7 @@ in the ``with`` block and reset its value to the previous state afterwards. .. function:: override_settings In case you want to override a setting for just one test method or even the -whole :class:`TestCase` class, Django provides the +whole :class:`~django.test.TestCase` class, Django provides the :func:`~django.test.utils.override_settings` decorator (see :pep:`318`). It's used like this:: -- cgit v1.3