mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #16534 -- Improved ability to customize DiscoverRunner
Added DiscoverRunner.test_suite and .test_runner attributes. Thanks tomchristie for the suggestion and jcd for the patch.
This commit is contained in:
@@ -285,6 +285,14 @@ Templates
|
||||
* ``TypeError`` exceptions are not longer silenced when raised during the
|
||||
rendering of a template.
|
||||
|
||||
Tests
|
||||
^^^^^
|
||||
|
||||
* :class:`~django.test.runner.DiscoverRunner` has two new attributes,
|
||||
:attr:`~django.test.runner.DiscoverRunner.test_suite` and
|
||||
:attr:`~django.test.runner.DiscoverRunner.test_runner`, which facilitate
|
||||
overriding the way tests are collected and run.
|
||||
|
||||
Backwards incompatible changes in 1.7
|
||||
=====================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user