Author: mtredinnick
Date: 2008-07-22 13:56:50 -0500 (Tue, 22 Jul 2008)
New Revision: 8054
Modified:
django/trunk/tests/regressiontests/queries/models.py
Log:
Changed the test from [8052] so that it is insensitive to whether a database
sorts NULLs first or last in a sequence or results.
Modified: django/trunk/tests/regressiontests/queries/models.py
===================================================================
--- django/trunk/tests/regressiontests/queries/models.py 2008-07-22
08:23:20 UTC (rev 8053)
+++ django/trunk/tests/regressiontests/queries/models.py 2008-07-22
18:56:50 UTC (rev 8054)
@@ -833,8 +833,8 @@
Bug #7791 -- there were "issues" when ordering and distinct-ing on fields
related via ForeignKeys.
->>> Note.objects.order_by('extrainfo__info').distinct()
-[<Note: n3>, <Note: n1>, <Note: n2>]
+>>> len(Note.objects.order_by('extrainfo__info').distinct())
+3
"""}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---