aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/mixins.py
diff options
context:
space:
mode:
authorTom Christie2011-07-11 20:52:02 +0100
committerTom Christie2011-07-11 20:53:05 +0100
commit4c590df7123954752eba9a9071617e30eedf4e47 (patch)
tree6a9b2e4b21fc3b534b79d7bd6f9039994ba92ef1 /djangorestframework/tests/mixins.py
parentd1ed9884d8b479b177dfb06e3b246e3c9e3e8593 (diff)
downloaddjango-rest-framework-4c590df7123954752eba9a9071617e30eedf4e47.tar.bz2
typo in test
Diffstat (limited to 'djangorestframework/tests/mixins.py')
-rw-r--r--djangorestframework/tests/mixins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/tests/mixins.py b/djangorestframework/tests/mixins.py
index b9aa4c3b..da7c4d86 100644
--- a/djangorestframework/tests/mixins.py
+++ b/djangorestframework/tests/mixins.py
@@ -107,7 +107,7 @@ class TestModelCreation(TestCase):
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)