#17604: Make use of assertTemplateUsed and assertTemplateNotUsed as ContextManagers -------------------------------------+------------------------------------- Reporter: gregmuellegger | Owner: Type: New feature | gregmuellegger Component: Testing framework | Status: new Severity: Normal | Version: 1.3 Keywords: assertTemplateUsed, | Resolution: assertTemplateNotUsed, | Triage Stage: contextmanager | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by gregmuellegger):
* needs_better_patch: => 0 * needs_tests: => 0 * needs_docs: => 0 Comment: The feature is implemented here: https://github.com/gregmuellegger/django/tree/t17604-assertTemplateUsed The compare view: https://github.com/gregmuellegger/django/compare/master...t17604-assertTemplateUsed Would be good if anyone could in particular review the docs, since my english is not the best at the moment. -- Ticket URL: <https://code.djangoproject.com/ticket/17604#comment:1> 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.