django/django — pull request #2549 by jrothenbuhler (2014-04-14 19:19:15+00:00)
Title: Fixed #22369 -- Added count parameter to assertTemplateUsed

Added a new parameter, count, to assertTemplateUsed to facilitate asserting that a template was rendered a specific number of times. The default value for count is None, in which case assertTemplateUsed behaves exactly as it did previously, making everything backwards compatible.