#24331: SuccessMessageMixinTests fail if MESSAGE_STORAGE is not CookieStorage
----------------------------------+--------------------
     Reporter:  matt-leach        |      Owner:  nobody
         Type:  Bug               |     Status:  new
    Component:  contrib.messages  |    Version:  master
     Severity:  Normal            |   Keywords:
 Triage Stage:  Unreviewed        |  Has patch:  0
Easy pickings:  0                 |      UI/UX:  0
----------------------------------+--------------------
 The TestCase `messages_tests.text_mixins.SuccessMessageMixinTests`checks
 that a cookie has been created. This means it will fail if the settings
 object `MESSAGE_STORAGE` is set to
 `django.contrib.messages.storage.session.SessionStorage` or anything that
 isn't `CookieStorage`.

 Probably best to fix using an
 
`override_settings(MESSAGE_STORAGE='django.contrib.messages.storage.cookie.CookieStorage')`
 decorator.

--
Ticket URL: <https://code.djangoproject.com/ticket/24331>
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/053.160be92780c0cb73c9001cc51a38114a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to