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:
Russell Keith-Magee 2007-07-20 14:07:54 +00:00
parent 9922a04bb6
commit bdc5a3eb51
1 changed files with 2 additions and 0 deletions

View File

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