Fixed #14147 -- Added documentation metadata for new assertQuerysetEqual test method. Thanks to djoume for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2010-08-23 07:13:42 +00:00
parent 10de06b6d4
commit 08277e88ac
1 changed files with 2 additions and 0 deletions

View File

@ -1250,6 +1250,8 @@ cause of an failure in your test suite.
.. method:: TestCase.assertQuerysetEqual(response, qs, values, transform=repr)
.. versionadded:: 1.3
Asserts that a queryset ``qs`` returns a particular list of values ``values``.
The comparison of the contents of ``qs`` and ``values`` is performed using