summaryrefslogtreecommitdiff
path: root/docs/topics/testing
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2019-09-07 11:57:46 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-09-10 12:01:00 +0200
commitb61ea56789a5825bd2961a335cb82f65e09f1614 (patch)
tree96540b71c4380dd930b63cd08d19c59b6b50fdfa /docs/topics/testing
parentf1894bae3071da4ee577fc40ae61491f3e03d82c (diff)
Refs #28478 -- Removed support for TestCase's allow_database_queries and multi_db per deprecation timeline.
Diffstat (limited to 'docs/topics/testing')
-rw-r--r--docs/topics/testing/tools.txt24
1 files changed, 0 insertions, 24 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt
index bc88e2defa..41652cbee1 100644
--- a/docs/topics/testing/tools.txt
+++ b/docs/topics/testing/tools.txt
@@ -747,14 +747,6 @@ If your tests make any database queries, use subclasses
setting the ``databases`` class attribute to ``'__all__'`` on your test
class.
-.. attribute:: SimpleTestCase.allow_database_queries
-
- .. deprecated:: 2.2
-
- This attribute is deprecated in favor of :attr:`databases`. The previous
- behavior of ``allow_database_queries = True`` can be achieved by setting
- ``databases = '__all__'``.
-
.. warning::
``SimpleTestCase`` and its subclasses (e.g. ``TestCase``, ...) rely on
@@ -1180,14 +1172,6 @@ only loaded into the ``default`` database.
Queries against databases not in ``databases`` will give assertion errors to
prevent state leaking between tests.
-.. attribute:: TransactionTestCase.multi_db
-
-.. deprecated:: 2.2
-
-This attribute is deprecated in favor of :attr:`~TransactionTestCase.databases`.
-The previous behavior of ``multi_db = True`` can be achieved by setting
-``databases = '__all__'``.
-
.. attribute:: TestCase.databases
By default, only the ``default`` database will be wrapped in a transaction
@@ -1210,14 +1194,6 @@ This test will only allow queries against the ``other`` database. Just like for
``'__all__'`` constant can be used to specify that the test should allow
queries to all databases.
-.. attribute:: TestCase.multi_db
-
-.. deprecated:: 2.2
-
-This attribute is deprecated in favor of :attr:`~TestCase.databases`. The
-previous behavior of ``multi_db = True`` can be achieved by setting
-``databases = '__all__'``.
-
.. _overriding-settings:
Overriding settings