Author: russellm
Date: 2010-08-23 02:15:14 -0500 (Mon, 23 Aug 2010)
New Revision: 13625

Modified:
   django/branches/releases/1.2.X/docs/topics/testing.txt
Log:
[1.2.X] Fixed #14147 -- Added documentation metadata for new 
assertQuerysetEqual test method. Thanks to djoume for the report.

Backport of r13624 from trunk.

Modified: django/branches/releases/1.2.X/docs/topics/testing.txt
===================================================================
--- django/branches/releases/1.2.X/docs/topics/testing.txt      2010-08-23 
07:13:42 UTC (rev 13624)
+++ django/branches/releases/1.2.X/docs/topics/testing.txt      2010-08-23 
07:15:14 UTC (rev 13625)
@@ -1248,19 +1248,6 @@
     ``target_status_code`` will be the url and status code for the final
     point of the redirect chain.
 
-.. method:: TestCase.assertQuerysetEqual(response, qs, values, transform=repr)
-
-    Asserts that a queryset ``qs`` returns a particular list of values 
``values``.
-
-    The comparison of the contents of ``qs`` and ``values`` is performed using
-    the function ``transform``; by default, this means that the ``repr()`` of
-    each value is compared. Any other callable can be used if ``repr()`` 
doesn't
-    provide a unique or helpful comparison.
-
-    The comparison is also ordering dependent. If ``qs`` doesn't provide an
-    implicit ordering, you will need to apply a ``order_by()`` clause to your
-    queryset to ensure that the test will pass reliably.
-
 .. _topics-testing-email:
 
 E-mail services

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to