summaryrefslogtreecommitdiff
path: root/django/contrib/auth/tests/management.py
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2012-05-03 16:39:16 +0200
committerClaude Paroz <claude@2xlibre.net>2012-05-03 16:39:16 +0200
commitb52672d77822e88752cb178c8a359adde83ff0ba (patch)
tree5289bd86172caf66b0b37dfe21737b757777c8f0 /django/contrib/auth/tests/management.py
parente84f79f05113f546810c1908c7baef99fb1e874a (diff)
Replaced deprecated TestCase methods. Refs #17049.
Diffstat (limited to 'django/contrib/auth/tests/management.py')
-rw-r--r--django/contrib/auth/tests/management.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/tests/management.py b/django/contrib/auth/tests/management.py
index 3708cc8bd0..5d31bd70a4 100644
--- a/django/contrib/auth/tests/management.py
+++ b/django/contrib/auth/tests/management.py
@@ -50,7 +50,7 @@ class ChangepasswordManagementCommandTestCase(TestCase):
command.execute("joe", stdout=self.stdout)
command_output = self.stdout.getvalue().strip()
- self.assertEquals(command_output, "Changing password for user 'joe'\nPassword changed successfully for user 'joe'")
+ self.assertEqual(command_output, "Changing password for user 'joe'\nPassword changed successfully for user 'joe'")
self.assertTrue(models.User.objects.get(username="joe").check_password("not qwerty"))
def test_that_max_tries_exits_1(self):