[Zope-Coders] zLOG warnings and testrunner
Evan Simpson
evan@zope.com
Thu, 27 Sep 2001 10:21:03 -0400
Jeremy Hylton wrote:
> The Zope Testing.common module installs a log handler that raises an
> AssertionError when a warning or higher is logged. So it's the policy
> of the Zope testing framework, but I've no idea why :-).
As with so much in the framework, that's there because several tests
were doing it. There is also a function in there to turn off the log
handler, for tests that expect log messages and don't want to pay
attention to them.
Cheers,
Evan