summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2011-03-03 23:54:12 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2011-03-03 23:54:12 +0000
commit806bffcf08893fc9a5104b3a1208551a5627473e (patch)
treee59f975561911cf8c26fd208dccc48584ff2385c
parentd05bb1384abba241749d89a8bf4961d3de12e628 (diff)
Fixed #15544 -- Corrected a test failure in the generic views tests that depended on primary key allocation. Thanks to Łukasz Rekucki for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--tests/regressiontests/generic_views/edit.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/regressiontests/generic_views/edit.py b/tests/regressiontests/generic_views/edit.py
index 923578d9d9..f542a68a0d 100644
--- a/tests/regressiontests/generic_views/edit.py
+++ b/tests/regressiontests/generic_views/edit.py
@@ -203,6 +203,7 @@ class UpdateViewTests(TestCase):
def test_update_get_object(self):
a = Author.objects.create(
+ pk=1,
name='Randall Munroe',
slug='randall-munroe',
)