Commit 95502613 authored by Eduardo Matos's avatar Eduardo Matos
Browse files

replace test method for older versions of unittest

parent 7faa1398
......@@ -112,9 +112,9 @@ class FormTests(TestCase):
'Password from inactive user should '
'not be recovered')
self.assertItemsEqual(form.errors['username_or_email'],
[u"Sorry, this user is inactive and his "
"password can't be recovered."])
self.assertEquals(form.errors['username_or_email'],
[u"Sorry, this user is inactive and his "
"password can't be recovered."])
# tear down settings
del settings.RECOVER_ONLY_ACTIVE_USERS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment