Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a test failure under Postgres caused by primary key sequence al…

…location.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 9ac4d2fc613d76129b0e980a7310321021982a19 1 parent 07590ff
@freakboy3742 freakboy3742 authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/regressiontests/queries/models.py
View
6 tests/regressiontests/queries/models.py
@@ -302,9 +302,9 @@ def __unicode__(self):
>>> 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)

0 comments on commit 9ac4d2f

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