Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#9670 closed (invalid)

django.core.mail.outbox doesn't exist anymore, remove from documentation

Reported by: joelpittet Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords: django.core.mail
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I was doing some testing and searching and there are some references in the documentation about "assertEquals(len(mail.outbox), 1)"

but mail.outbox is not defined in the mail module.

Change History (2)

comment:1 Changed 12 years ago by Russell Keith-Magee

Resolution: invalid
Status: newclosed

You need to read the documentation more carefully. mail.outbox is a test framework utility. It only exists in the context of a running test suite. It doesn't exist during general runtime. The existence of mail.outbox is validated by the test suite.

comment:2 Changed 11 years ago by (none)

milestone: post-1.0

Milestone post-1.0 deleted

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