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

Fixed #23606 -- Implemented Client and RequestFactory trace() methods.

Thanks KevinEtienne for the suggestion.
This commit is contained in:
Rigel Di Scala
2014-10-13 12:10:00 +01:00
committed by Tim Graham
parent 713f23492a
commit 28634394f5
7 changed files with 115 additions and 6 deletions

View File

@@ -372,6 +372,10 @@ Requests and Responses
Tests
^^^^^
* The :class:`RequestFactory.trace() <django.test.RequestFactory>`
and :class:`Client.trace() <django.test.Client.trace>` methods were
implemented, allowing you to create ``TRACE`` requests in your 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.