1. Tom Christie
  2. Django REST Framework

Commits

Tom Christie  committed d3c1daa

typo in test

  • Participants
  • Parent commits 8895e75
  • Branches default

Comments (0)

Files changed (1)

File djangorestframework/tests/mixins.py

View file
         response = mixin.post(request)
         self.assertEquals(3, CustomUser.objects.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)