Fixed unittest typo

This commit is contained in:
Levi Gross 2013-12-25 12:18:14 -05:00
parent b798d2bf97
commit 0dd9075622
No known key found for this signature in database
GPG Key ID: 3BE5CE0578FE75B7
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ class DeletionTests(TestCase):
'form-0-name': 'test',
'form-1-id': '',
'form-1-name': 'x' * 1000, # Too long
'form-1-id': six.text_type(poet.id), # Violate unique constraint
'form-1-name': 'test2',
'form-2-id': six.text_type(poet.id), # Violate unique constraint
'form-2-name': 'test2',
}
formset = PoetFormSet(data, queryset=Poet.objects.all())
# Make sure this form doesn't pass validation.