1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #26981 -- Added DiscoverRunner.get_test_runner_kwargs().

This commit is contained in:
Chris Jerdonek
2016-08-04 10:26:21 -07:00
committed by Tim Graham
parent 967aa7f6cc
commit ebed9ee8d5
4 changed files with 22 additions and 7 deletions

View File

@@ -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.