summaryrefslogtreecommitdiff
path: root/docs/topics/testing
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2014-04-12 11:42:06 +0200
committerClaude Paroz <claude@2xlibre.net>2014-04-12 11:43:10 +0200
commitd9f8cc12aeeb5309139a79d9b613fa405ebed36e (patch)
tree02392fda6eb52ad65fe266ac4da919660381de08 /docs/topics/testing
parent3f48ca207130db502c8a9f8b7e6efa04453c4504 (diff)
[1.7.x] Fixed #22102 -- Made SimpleTestCase tests run before unittest.TestCase ones
Thanks aptiko for the report and Tim Graham for the review. Backport of 3e3a7372f5 from master.
Diffstat (limited to 'docs/topics/testing')
-rw-r--r--docs/topics/testing/overview.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/topics/testing/overview.txt b/docs/topics/testing/overview.txt
index 19fff1ed1c..4c7e67c4b1 100644
--- a/docs/topics/testing/overview.txt
+++ b/docs/topics/testing/overview.txt
@@ -221,13 +221,13 @@ the Django test runner reorders tests in the following way:
* All :class:`~django.test.TestCase` subclasses are run first.
-* Then, all other unittests (including :class:`unittest.TestCase`,
- :class:`~django.test.SimpleTestCase` and
+* Then, all other Django-based tests (test cases based on
+ :class:`~django.test.SimpleTestCase`, including
:class:`~django.test.TransactionTestCase`) are run with no particular
ordering guaranteed nor enforced among them.
-* Then any other tests (e.g. doctests) that may alter the database without
- restoring it to its original state are run.
+* Then any other :class:`unittest.TestCase` tests (including doctests) that may
+ alter the database without restoring it to its original state are run.
.. note::