Fixed a test failure under Postgres caused by primary key sequence allocation.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2010-04-15 14:43:40 +00:00
parent 07590ff4e8
commit 9ac4d2fc61
1 changed files with 3 additions and 3 deletions

View File

@ -302,9 +302,9 @@ True
>>> 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)