[Zope-PAS] Re: PAS tests failures

Tres Seaver tseaver at palladion.com
Thu Nov 3 11:52:52 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Julien Anguenot wrote:
> Sidnei da Silva wrote:
> 
>>>Without looking at it myself, I think the problem is
>>>'handle_errors=False'. Change that to True and it *might* fix the
>>>issue.
>>>
> 
> 
> yup that's it. Thank you Sidnei.
> 
> Should we change the test on the trunk ?

The 'handle_errors=False' code was broken in Zope < 2.8.2 (the errors
were being handled willy-nilly).

Because the tests are about how the response is actually rendered to the
browser, I think we *should* tell the test framework to handle errors,
which converts the Unauthorized traceback to an HTTP 401.

Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDakBj+gerLs4ltQ4RAoGmAKCxHrLYzG0OJE6Mw+yJkW9jzf1qbgCgzvWz
gqDkPOdnOtqu5Z/xQJugHCc=
=D54w
-----END PGP SIGNATURE-----



More information about the Zope-PAS mailing list