diff options
| author | Carl Meyer <carl@oddbird.net> | 2013-05-10 23:08:45 -0400 |
|---|---|---|
| committer | Carl Meyer <carl@oddbird.net> | 2013-05-10 23:08:45 -0400 |
| commit | 9012833af857e081b515ce760685b157638efcef (patch) | |
| tree | 467982b071026047cab406e4eaae9cb1a2d2f77d /docs/intro/tutorial05.txt | |
| parent | c0d8932a6d03e9326a4e407e944b09bf43cf929c (diff) | |
Fixed #17365, #17366, #18727 -- Switched to discovery test runner.
Thanks to Preston Timmons for the bulk of the work on the patch, especially
updating Django's own test suite to comply with the requirements of the new
runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the
patch and the discovery runner.
Refs #11077, #17032, and #18670.
Diffstat (limited to 'docs/intro/tutorial05.txt')
| -rw-r--r-- | docs/intro/tutorial05.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/intro/tutorial05.txt b/docs/intro/tutorial05.txt index 97d1d96ad7..67a40aba40 100644 --- a/docs/intro/tutorial05.txt +++ b/docs/intro/tutorial05.txt @@ -156,8 +156,9 @@ Create a test to expose the bug What we've just done in the shell to test for the problem is exactly what we can do in an automated test, so let's turn that into an automated test. -The best place for an application's tests is in the application's ``tests.py`` -file - the testing system will look there for tests automatically. +A conventional place for an application's tests is in the application's +``tests.py`` file; the testing system will automatically find tests in any file +whose name begins with ``test``. Put the following in the ``tests.py`` file in the ``polls`` application:: |
