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
This commit is contained in:
parent
d05bb1384a
commit
806bffcf08
|
@ -203,6 +203,7 @@ class UpdateViewTests(TestCase):
|
||||||
|
|
||||||
def test_update_get_object(self):
|
def test_update_get_object(self):
|
||||||
a = Author.objects.create(
|
a = Author.objects.create(
|
||||||
|
pk=1,
|
||||||
name='Randall Munroe',
|
name='Randall Munroe',
|
||||||
slug='randall-munroe',
|
slug='randall-munroe',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue