#36589: assertTemplateUsed asserts against template partial name regardless of
origin
-----------------------------------+-------------------------------------
     Reporter:  Jacob Walls        |                    Owner:  Caitlin B
         Type:  Bug                |                   Status:  closed
    Component:  Testing framework  |                  Version:  dev
     Severity:  Release blocker    |               Resolution:  fixed
     Keywords:                     |             Triage Stage:  Accepted
    Has patch:  1                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+-------------------------------------
Changes (by Jacob Walls <jacobtylerwalls@…>):

 * resolution:   => fixed
 * status:  assigned => closed

Comment:

 In [changeset:"0e0b4214c350da9b627a67987b13ec334e1de033" 0e0b4214]:
 {{{#!CommitTicketReference repository=""
 revision="0e0b4214c350da9b627a67987b13ec334e1de033"
 Fixed #36589 -- Made assertTemplateUsed/NotUsed track full path for
 PartialTemplate.

 Previously, assertTemplateUsed only matched partial names, ignoring
 the template origin. This caused assertions on partials specified by
 origin ("template.html#partial") to fail. Refs #36410.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36589#comment:8>
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 view this discussion visit 
https://groups.google.com/d/msgid/django-updates/010701994f1ff431-2ce927ad-8b43-49fe-b5b7-e2f41072c5c8-000000%40eu-central-1.amazonses.com.

Reply via email to