summaryrefslogtreecommitdiff
path: root/tests/regressiontests/createsuperuser
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 /tests/regressiontests/createsuperuser
parente84f79f05113f546810c1908c7baef99fb1e874a (diff)
Replaced deprecated TestCase methods. Refs #17049.
Diffstat (limited to 'tests/regressiontests/createsuperuser')
-rw-r--r--tests/regressiontests/createsuperuser/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/createsuperuser/tests.py b/tests/regressiontests/createsuperuser/tests.py
index 4fdb5923ab..1c1bb0ed38 100644
--- a/tests/regressiontests/createsuperuser/tests.py
+++ b/tests/regressiontests/createsuperuser/tests.py
@@ -28,7 +28,7 @@ class MultiDBChangepasswordManagementCommandTestCase(TestCase):
command.execute("joe", database='other', 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.using('other').get(username="joe").check_password("not qwerty"))