Refs #3782 -- Added documentation note that suite() handling is only in development version.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5730 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
9922a04bb6
commit
bdc5a3eb51
|
@ -123,6 +123,8 @@ to find all the test cases (that is, subclasses of ``unittest.TestCase``)
|
|||
in ``models.py`` and ``tests.py``, automatically build a test suite out of
|
||||
those test cases, and run that suite.
|
||||
|
||||
**New in Django development version**
|
||||
|
||||
However, if you define a method called ``suite()`` in either ``models.py`` or
|
||||
``tests.py``, that method will be used to construct the test suite for that
|
||||
module. This follows the `suggested organization`_ for unit tests. See the
|
||||
|
|
Loading…
Reference in New Issue