[Zope-Coders] zLOG warnings and testrunner
Jeremy Hylton
jeremy@zope.com
Thu, 27 Sep 2001 10:02:22 -0400 (EDT)
>>>>> "CMcD" == Chris McDonough <chrism@digicool.com> writes:
CMcD> Jeremy, you might try setting a STUPID_LOG_FILE envvar (no Im
CMcD> not kidding) to a file, rerun the tests, and see what happens.
CMcD> I have no idea why pyunit is choking on Zope log calls,
CMcD> especially because by default nothing actually makes its way
CMcD> out of Zope without STUPID_LOG_FILE set.
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 :-).
Jeremy