Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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 Tim Graham, 11 years ago

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?

comment:2 by Aymeric Augustin, 11 years ago

Triage Stage: UnreviewedAccepted

Let's start by fixing the documentation.

comment:3 by Aymeric Augustin <aymeric.augustin@…>, 11 years ago

Resolution: fixed
Status: newclosed

In d5ed81c7951578c8cf0eb6fefd09db632455edd0:

Fixed #19389 -- Docs on the location of contrib apps tests.

comment:4 by Aymeric Augustin <aymeric.augustin@…>, 11 years ago

In c81e8e7068bdaa000ad6fbed8d452ac074ba19a9:

[1.5.x] Fixed #19389 -- Docs on the location of contrib apps tests.

Backport of d5ed81c.

Note: See TracTickets for help on using tickets.
Back to Top