#24721: Introduce something similar to mail.outbox for messages
----------------------------------+--------------------------------------
Reporter: mjtamlyn | Owner: nobody
Type: New feature | Status: new
Component: contrib.messages | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Comment (by carljm):
I think an in-memory backend for `contrib.messages`, for testing purposes,
is a great idea.
I'm less sold on doing more automatic monkeypatching for tests, or adding
a hook for third-party apps to automatically monkeypatch themselves when
under test. I'd really like to see such changes be explicit somehow,
rather than automatic. Personally I just use a test-specific settings file
with a few settings overrides, but there may be other options.
--
Ticket URL: <https://code.djangoproject.com/ticket/24721#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.373ad0c6e191d87c41c1095aa80d5f7c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.