Author: russellm Date: 2010-04-15 09:43:40 -0500 (Thu, 15 Apr 2010) New Revision: 12981
Modified: django/trunk/tests/regressiontests/queries/models.py Log: Fixed a test failure under Postgres caused by primary key sequence allocation. Modified: django/trunk/tests/regressiontests/queries/models.py =================================================================== --- django/trunk/tests/regressiontests/queries/models.py 2010-04-15 14:37:06 UTC (rev 12980) +++ django/trunk/tests/regressiontests/queries/models.py 2010-04-15 14:43:40 UTC (rev 12981) @@ -302,9 +302,9 @@ >>> t4 = Tag.objects.create(name='t4', parent=t3) >>> t5 = Tag.objects.create(name='t5', parent=t3) ->>> n1 = Note.objects.create(note='n1', misc='foo') ->>> n2 = Note.objects.create(note='n2', misc='bar') ->>> n3 = Note.objects.create(note='n3', misc='foo') +>>> n1 = Note.objects.create(note='n1', misc='foo', id=1) +>>> n2 = Note.objects.create(note='n2', misc='bar', id=2) +>>> n3 = Note.objects.create(note='n3', misc='foo', id=3) >>> ann1 = Annotation.objects.create(name='a1', tag=t1) >>> ann1.notes.add(n1) -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.