Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.2.X] Fixed #14147 -- Added documentation metadata for new assertQu…

…erysetEqual test method. Thanks to djoume for the report.

Backport of r13624 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e5c4ba6151b3220a918bd47cc3f5a4e5f9ac89d1 1 parent 1a2464c
Russell Keith-Magee authored August 23, 2010

Showing 1 changed file with 0 additions and 13 deletions. Show diff stats Hide diff stats

  1. 13  docs/topics/testing.txt
13  docs/topics/testing.txt
@@ -1248,19 +1248,6 @@ cause of an failure in your test suite.
1248 1248
     ``target_status_code`` will be the url and status code for the final
1249 1249
     point of the redirect chain.
1250 1250
 
1251  
-.. method:: TestCase.assertQuerysetEqual(response, qs, values, transform=repr)
1252  
-
1253  
-    Asserts that a queryset ``qs`` returns a particular list of values ``values``.
1254  
-
1255  
-    The comparison of the contents of ``qs`` and ``values`` is performed using
1256  
-    the function ``transform``; by default, this means that the ``repr()`` of
1257  
-    each value is compared. Any other callable can be used if ``repr()`` doesn't
1258  
-    provide a unique or helpful comparison.
1259  
-
1260  
-    The comparison is also ordering dependent. If ``qs`` doesn't provide an
1261  
-    implicit ordering, you will need to apply a ``order_by()`` clause to your
1262  
-    queryset to ensure that the test will pass reliably.
1263  
-
1264 1251
 .. _topics-testing-email:
1265 1252
 
1266 1253
 E-mail services

0 notes on commit e5c4ba6

Please sign in to comment.
Something went wrong with that request. Please try again.