From 0dd907562247cbf88092a736b82d7d0c27407328 Mon Sep 17 00:00:00 2001 From: Levi Gross Date: Wed, 25 Dec 2013 12:18:14 -0500 Subject: [PATCH] Fixed unittest typo --- tests/model_formsets/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/model_formsets/tests.py b/tests/model_formsets/tests.py index ac9d68132e..c1e01cd6be 100644 --- a/tests/model_formsets/tests.py +++ b/tests/model_formsets/tests.py @@ -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.