diff options
| author | Tim Graham <timograham@gmail.com> | 2012-12-29 10:35:12 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-12-29 15:57:57 -0500 |
| commit | 9e5ada79bf2d25fa862babe74517a6c7b5b89968 (patch) | |
| tree | 78937f2f77f75a4279cce7440c50186d74297658 /docs/topics/testing | |
| parent | d529d413f742b16e787c5ddb4e843fa66d1b0809 (diff) | |
[1.5.x] Fixed broken links, round 4. refs #19516
Backport of 067505ad19 from master
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/overview.txt | 5 |
1 files changed, 4 insertions, 1 deletions
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:: |
