Re: zope-tests - FAILED: 1, OK: 12

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/28/2014 07:00 PM, Zope tests summarizer wrote:
> [1]    FAILED  Failure - zopetoolkit_trunk - Build # 622 
> https://mail.zope.org/pipermail/zope-tests/2014-April/081957.html

Hmmm:

- ------------------------------ %< --------------------------
Failed doctest test for zope.password.legacy.CryptPasswordManager
  File
"/var/lib/jenkins/jobs/zopetoolkit_trunk/workspace/src/zope.password/src/zope/password/legacy.py",
line 43, in CryptPasswordManager

- ----------------------------------------------------------------------
File
"/var/lib/jenkins/jobs/zopetoolkit_trunk/workspace/src/zope.password/src/zope/password/legacy.py",
line 96, in zope.password.legacy.CryptPasswordManager
Failed example:
    manager.encodePassword(password) != manager.encodePassword(password)
Expected:
    True
Got:
    False
- ------------------------------ %< --------------------------

Could the following returned the same value both times?

                choices = ("ABCDEFGHIJKLMNOPQRSTUVWXYZ"
                           "abcdefghijklmnopqrstuvwxyz"
                           "0123456789./")
                salt = choice(choices) + choice(choices)

Statistically, that isn't *impossible*, I guess.


Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          [email protected]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlNe5/sACgkQ+gerLs4ltQ6QZACg0uUNE6N/QN3Lcp9cZhWZKDwv
gLQAoNpIcmewE1snNsnHpLquXaIXHFY8
=Vj0T
-----END PGP SIGNATURE-----

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.