Opened 7 years ago

Closed 7 years ago

Last modified 7 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: UI/UX:


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 7 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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 7 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

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