From ebed9ee8d5e4268d9393261633b2c23cffd426fc Mon Sep 17 00:00:00 2001 From: Chris Jerdonek Date: Thu, 4 Aug 2016 10:26:21 -0700 Subject: Fixed #26981 -- Added DiscoverRunner.get_test_runner_kwargs(). --- docs/releases/1.11.txt | 3 ++- docs/topics/testing/advanced.txt | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'docs') 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. -- cgit v1.3