#23300: TestCase.assertTemplateUsed passes erroneously on an HttpResponse
-------------------------------------+-------------------------------------
Reporter: zags | Owner: davide-
Type: Bug | ceretti
Component: Testing framework | Status: closed
Severity: Normal | Version: master
Keywords: asserttemplateused | Resolution: fixed
template | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"2d06e3155a13e3ca9e63b97c7c9499a1e1ffd654"]:
{{{
#!CommitTicketReference repository=""
revision="2d06e3155a13e3ca9e63b97c7c9499a1e1ffd654"
Fixed #23300 -- Made assertTemplateUsed throw an error on responses not
fetched using the test client.
Thanks zags for the report and bmispelon for the patch.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23300#comment:5>
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.366b777ec66e7d89783240c6ba3f686c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.