#22369: Times a template is used using assertTemplateUsed
-----------------------------------+-----------------------------
     Reporter:  anonymous          |      Owner:  nobody
         Type:  New feature        |     Status:  new
    Component:  Testing framework  |    Version:  1.6
     Severity:  Normal             |   Keywords:  assert, testing
 Triage Stage:  Unreviewed         |  Has patch:  0
Easy pickings:  0                  |      UI/UX:  0
-----------------------------------+-----------------------------
 For instance, using django-autocomplete-light a template from this package
 is used for each field where you define as an autocomplete field. It'd be
 nice can check for the times the template is used:

 SimpleTestCase.assertTemplateUsed(response, template_name, count=1,
 msg_prefix='')

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22369>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.1be85b99ce9870c279bf97c54942fe53%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to