diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.11.txt | 3 | ||||
| -rw-r--r-- | docs/topics/testing/advanced.txt | 7 |
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. |
