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

        L{verifyCryptedPassword} returns True if the provided cleartext password
        matches the provided MD5 password hash.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_checkers.py