#NEWLINE# def test_verifyCryptedPasswordMD5( self ) : #NEWLINE# #INDENT# '\n        L{verifyCryptedPassword} returns True if the provided cleartext password\n        matches the provided MD5 password hash.\n        ' #NEWLINE# password = 'password' #NEWLINE# salt = '$1$salt' #NEWLINE# crypted = crypt . crypt ( password , crypted ) #NEWLINE# self . assertTrue ( checkers . verifyCryptedPassword ( crypted , password ) , ( '%r supposed to be valid encrypted password for %s' % ( crypted , password ) ) )