#34730: Add an assertMessages assertion
-----------------------------------+--------------------------------------
     Reporter:  François Freitag   |                    Owner:  nobody
         Type:  New feature        |                   Status:  new
    Component:  Testing framework  |                  Version:  dev
     Severity:  Normal             |               Resolution:
     Keywords:                     |             Triage Stage:  Unreviewed
    Has patch:  1                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+--------------------------------------

Comment (by Tim Graham):

 I agree that adding `SimpleTestCase` assertions for contrib packages is
 giving them inappropriate special privileges that third-party packages
 wouldn't get. Perhaps the assertion could live in a test case mixin in a
 module like `django.contrib.messages.tests` (matching the helpers in
 `contrib.admin.tests`).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34730#comment:6>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701898857f345-8296c1a1-60cb-452e-9c07-8e73c6efeac6-000000%40eu-central-1.amazonses.com.

Reply via email to