1
0
mirror of https://github.com/django/django.git synced 2025-10-29 00:26:07 +00:00

Replaced deprecated TestCase methods. Refs #17049.

This commit is contained in:
Claude Paroz
2012-05-03 16:39:16 +02:00
parent e84f79f051
commit b52672d778
19 changed files with 80 additions and 80 deletions

View File

@@ -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"))