#16507: Tests that alter ROOT_URLCONF should set DEBUG_PROPAGATE_EXCEPTION
----------------------------------+------------------------------------
     Reporter:  andymckay         |                    Owner:  nobody
         Type:  Bug               |                   Status:  reopened
    Component:  contrib.messages  |                  Version:  SVN
     Severity:  Normal            |               Resolution:
     Keywords:                    |             Triage Stage:  Accepted
    Has patch:  1                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  1
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+------------------------------------

Comment (by claudep):

 Replying to [comment:15 andymckay]:
 (...)
 > * The wrong handler is called, I was trying to boil this down to a one
 file test case. You can move the assignment to handler500 around it
 doesn't matter. The problem as Carl said is that we don't have a complete
 isolation in the test, we are altering some parts (the urls) but not
 others (the handlers). If you need a more comprehensive example I can
 point you at code in my projects that trigger this.

 I've separated the issue about wrong handler being called in ticket
 #17113. (The test I uploaded in this ticket is currently passing)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16507#comment:16>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to