Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed test output check when password is blank

  • Loading branch information...
commit 1aa218b857ccd5e7db3718e2c0b4d4739dcb075c 1 parent 703c266
@claudep claudep authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  django/contrib/auth/tests/
3  django/contrib/auth/tests/
@@ -246,8 +246,7 @@ def test_unsuable_password(self):
def test_bug_17944_empty_password(self):
user = User.objects.get(username='empty_password')
form = UserChangeForm(instance=user)
- self.assertIn(_("Invalid password format or unknown hashing algorithm."),
- form.as_table())
+ self.assertIn(_("No password set."), form.as_table())
def test_bug_17944_unmanageable_password(self):
user = User.objects.get(username='unmanageable_password')
Please sign in to comment.
Something went wrong with that request. Please try again.