Skip to content

Commit

Permalink
Remove now redundant test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martijn Pieters committed Feb 20, 2011
1 parent e4f0fb1 commit 6f0e2be
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/zope/password/password.py
Expand Up @@ -185,16 +185,6 @@ class MD5PasswordManager(PlainTextPasswordManager):
>>> manager.checkPassword(encoded, password + u"wrong")
False
>>> encoded = manager.encodePassword(password)
>>> encoded
'{MD5}86dddccec45db4599f1ac00018e54139'
>>> manager.match(encoded)
True
>>> manager.checkPassword(encoded, password)
True
>>> manager.checkPassword(encoded, password + u"wrong")
False
The old version of this password manager didn't add the {MD5} to
passwords. Let's check if it can work with old stored passwords.
Expand Down

0 comments on commit 6f0e2be

Please sign in to comment.