Browse files

Fixed #15544 -- Corrected a test failure in the generic views tests t…

…hat 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
  • Loading branch information...
1 parent d05bb13 commit 806bffcf08893fc9a5104b3a1208551a5627473e @freakboy3742 freakboy3742 committed Mar 3, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/regressiontests/generic_views/edit.py
View
1 tests/regressiontests/generic_views/edit.py
@@ -203,6 +203,7 @@ def test_update_without_redirect(self):
def test_update_get_object(self):
a = Author.objects.create(
+ pk=1,
name='Randall Munroe',
slug='randall-munroe',
)

0 comments on commit 806bffc

Please sign in to comment.