Author: mtredinnick
Date: 2008-02-25 00:17:16 -0600 (Mon, 25 Feb 2008)
New Revision: 7154

Modified:
   django/branches/queryset-refactor/tests/regressiontests/queries/models.py
Log:
queryset-refactor: Added a test to show that #6180 is fixed. Refs #6180.


Modified: 
django/branches/queryset-refactor/tests/regressiontests/queries/models.py
===================================================================
--- django/branches/queryset-refactor/tests/regressiontests/queries/models.py   
2008-02-25 06:02:35 UTC (rev 7153)
+++ django/branches/queryset-refactor/tests/regressiontests/queries/models.py   
2008-02-25 06:17:16 UTC (rev 7154)
@@ -515,7 +515,7 @@
 >>> Author.objects.filter(Q(extra__note=n1)|Q(item__note=n3)).filter(id=a1.id)
 [<Author: a1>]
 
-Bug #6203
+Bug #6180, #6203
 >>> Item.objects.count()
 4
 >>> Item.objects.dates('created', 'month').count()
@@ -524,6 +524,8 @@
 2
 >>> len(Item.objects.dates('created', 'day'))
 2
+>>> Item.objects.dates('created', 'day')[0]
+datetime.datetime(2007, 12, 19, 0, 0)
 
 Test that parallel iterators work.
 


--~--~---------~--~----~------------~-------~--~----~
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