#25249: Exception signaling in test client disconnected by nested test client
call.
-------------------------+-------------------------------------------------
Reporter: | Owner: nobody
pscottdevos |
Type: Bug | Status: new
Component: Testing | Version: master
framework | Keywords: signals, test client,
Severity: Normal | got_request_exception
Triage Stage: | Has patch: 1
Unreviewed |
Easy pickings: 1 | UI/UX: 0
-------------------------+-------------------------------------------------
If the test client requests a view which itself makes a test client
request exceptions raised after the inner request are suppressed (i.e. the
traceback is not displayed). This happens because, when the inner test
client completes, it disconnects the got_request_exception signal.
The solution is to set a unique dispatch_uid in exactly the same manner as
it is done for the template_rendered signal.
--
Ticket URL: <https://code.djangoproject.com/ticket/25249>
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/054.c53ba9606c436bd222d38a2497d01c5a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.