summaryrefslogtreecommitdiff
path: root/docs/internals/contributing/writing-code/unit-tests.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-03-05 08:39:56 -0500
committerTim Graham <timograham@gmail.com>2016-03-05 08:42:18 -0500
commite19fc9f08ab06f75eade82a122e7a4d0300ff860 (patch)
treeb372be89058011bb0f8410296e5e018c50e272d7 /docs/internals/contributing/writing-code/unit-tests.txt
parent552f03869ea7f3072b3fa19ffb6cb2d957fd8447 (diff)
Removed claim that you can use different database backends for Django's tests.
Such as a setup isn't tested through continuous integration and therefore isn't likely to work reliably.
Diffstat (limited to 'docs/internals/contributing/writing-code/unit-tests.txt')
-rw-r--r--docs/internals/contributing/writing-code/unit-tests.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt
index 8ed2154939..fb6fae1f72 100644
--- a/docs/internals/contributing/writing-code/unit-tests.txt
+++ b/docs/internals/contributing/writing-code/unit-tests.txt
@@ -64,11 +64,9 @@ two databases:
* A ``default`` database. This database should use the backend that
you want to use for primary testing.
-* A database with the alias ``other``. The ``other`` database is used to
- establish that queries can be directed to different databases. As a result,
- this database can use any backend you want. It doesn't need to use the same
- backend as the ``default`` database (although it can use the same backend if
- you want to). It cannot be the same database as the ``default``.
+* A database with the alias ``other``. The ``other`` database is used to test
+ that queries can be directed to different databases. This database should use
+ the same backend as the ``default``, and it must have a different name.
If you're using a backend that isn't SQLite, you will need to provide other
details for each database: