#19389 closed Bug (fixed)
Wrong location of admin tests in documentation
| Reported by: | Krzysztof Jurewicz | Owned by: | nobody | 
|---|---|---|---|
| Component: | Documentation | Version: | dev | 
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
As tests for admin live in tests/regressiontests/admin_*, the following info in internals/contributing/writing-code/unit-tests:
The tests cover:
- Models and the database API (tests/modeltests),
 - Everything else in core Django code (tests/regressiontests),
 - Contrib apps (django/contrib/<app>/tests).
 
is misleading. There is a small file django/contrib/admin/tests.py, but inside of it no comment is made redirecting user to tests/regressiontests.
Change History (4)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
| Triage Stage: | Unreviewed → Accepted | 
|---|
Let's start by fixing the documentation.
comment:3 by , 13 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
Not a comprehensive audit, but I also see tests for contrib.comments and contrib.syndication in tests/regressiontests. Do we want to fix this by modifying the documentation or by moving around the tests?