#17604: Make use of assertTemplateUsed and assertTemplateNotUsed as ContextManagers -------------------------------------+------------------------------------- Reporter: gregmuellegger | Owner: Type: New feature | gregmuellegger Component: Testing framework | Status: closed Severity: Normal | Version: 1.3 Keywords: assertTemplateUsed, | Resolution: fixed assertTemplateNotUsed, | Triage Stage: Accepted contextmanager | Needs documentation: 0 Has patch: 1 | Patch needs improvement: 0 Needs tests: 0 | UI/UX: 0 Easy pickings: 0 | -------------------------------------+------------------------------------- Changes (by carljm):
* status: new => closed * resolution: => fixed Comment: In [17412]: {{{ #!CommitTicketReference repository="" revision="17412" Fixed #17604 - Added context-manager capability to assertTemplateUsed and assertTemplateNotUsed. Thanks Greg Müllegger. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/17604#comment:7> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.