Commit 164c67c8 authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

Fixed #20552 -- Corrected release notes reference to name of new test discovery runner.

parent 51aa0003
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -78,10 +78,10 @@ location of tests. The previous runner
``models.py`` and ``tests.py`` modules of a Python package in
:setting:`INSTALLED_APPS`.

The new runner (``django.test.runner.DjangoTestDiscoverRunner``) uses the test
discovery features built into unittest2 (the version of unittest in the Python
2.7+ standard library, and bundled with Django). With test discovery, tests can
be located in any module whose name matches the pattern ``test*.py``.
The new runner (``django.test.runner.DiscoverRunner``) uses the test discovery
features built into unittest2 (the version of unittest in the Python 2.7+
standard library, and bundled with Django). With test discovery, tests can be
located in any module whose name matches the pattern ``test*.py``.

In addition, the test labels provided to ``./manage.py test`` to nominate
specific tests to run must now be full Python dotted paths (or directory