typo in test

This commit is contained in:
Tom Christie 2011-07-11 20:52:02 +01:00
parent d1ed9884d8
commit 4c590df712

View File

@ -107,7 +107,7 @@ class TestModelCreation(TestCase):
response = mixin.post(request) response = mixin.post(request)
self.assertEquals(3, CustomUser.objects.count()) self.assertEquals(3, CustomUser.objects.count())
self.assertEquals(2, response.cleaned_content.groups.count()) self.assertEquals(2, response.cleaned_content.groups.count())
self.assertEquals('foo', response.cleaned_content.groups.all()[0].name) self.assertEquals('foo1', response.cleaned_content.groups.all()[0].name)
self.assertEquals('foo2', response.cleaned_content.groups.all()[1].name) self.assertEquals('foo2', response.cleaned_content.groups.all()[1].name)