summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2016-08-04 10:26:21 -0700
committerTim Graham <timograham@gmail.com>2016-08-04 14:45:44 -0400
commitebed9ee8d5e4268d9393261633b2c23cffd426fc (patch)
tree565e122a461082a9606cbee01b3b80e864571434 /docs
parent967aa7f6cc720b11e38b7e0cbeffc2c95c64fa05 (diff)
Fixed #26981 -- Added DiscoverRunner.get_test_runner_kwargs().
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.11.txt3
-rw-r--r--docs/topics/testing/advanced.txt7
2 files changed, 9 insertions, 1 deletions
diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt
index 3c220cc22d..cbaf1d5920 100644
--- a/docs/releases/1.11.txt
+++ b/docs/releases/1.11.txt
@@ -255,7 +255,8 @@ Templates
Tests
~~~~~
-* ...
+* Added :meth:`.DiscoverRunner.get_test_runner_kwargs` to allow customizing the
+ keyword arguments passed to the test runner.
URLs
~~~~
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt
index d69e95e5a8..8cfb82db67 100644
--- a/docs/topics/testing/advanced.txt
+++ b/docs/topics/testing/advanced.txt
@@ -568,6 +568,13 @@ Methods
Returns the result produced by the running the test suite.
+.. method:: DiscoverRunner.get_test_runner_kwargs()
+
+ .. versionadded:: 1.11
+
+ Returns the keyword arguments to instantiate the
+ ``DiscoverRunner.test_runner`` with.
+
.. method:: DiscoverRunner.teardown_databases(old_config, **kwargs)
Destroys the test databases, restoring pre-test conditions.