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:
committed by
Tim Graham
parent
713f23492a
commit
28634394f5
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user