#23300: TestCase.assertTemplateUsed passes erroneously on an HttpResponse
-------------------------------------+-------------------------------------
     Reporter:  zags                 |                    Owner:  davide-
         Type:  Bug                  |  ceretti
    Component:  Testing framework    |                   Status:  assigned
     Severity:  Normal               |                  Version:  master
     Keywords:  asserttemplateused   |               Resolution:
  template                           |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  1
  Needs tests:  1                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by loic):

 It's worth noting that `response.templates` is a monkey-patch from the
 `Client`; `assertTemplateused` won't work in any other context.

--
Ticket URL: <https://code.djangoproject.com/ticket/23300#comment:4>
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/062.5f02509aca9f3bf5e1dea3b3006695e9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to