1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #22369 -- Added count parameter to assertTemplateUsed

This commit is contained in:
Jacob R. Rothenbuhler
2014-04-14 15:13:49 -04:00
committed by Simon Charette
parent 09af48c70f
commit 17c1884456
6 changed files with 59 additions and 3 deletions

View File

@@ -154,7 +154,9 @@ Requests and Responses
Tests
^^^^^
* ...
* The ``count`` argument was added to
:meth:`~django.test.SimpleTestCase.assertTemplateUsed`. This allows you to
assert that a template was rendered a specific number of times.
Validators
^^^^^^^^^^