[Zope3-dev] Patching zope.testing
Jim Fulton
jim at zope.com
Tue Sep 5 13:52:35 EDT 2006
On Sep 5, 2006, at 1:10 PM, Fred Drake wrote:
> On 9/5/06, Gustavo Niemeyer <gustavo at niemeyer.net> wrote:
>> runner (is anyone else using it?).
>
> We're certainly using the zope.testing framework for internal
> projects; I expect a number of projects would be affected.
>
> In thinking about this, it's not at all clear to me that this is the
> "right" thing to do. When checking logging output, what's really
> being checked is that a usable log entry is being made at the right
> level. If what you want is to test an exception, that seems to be a
> distinct test (IMO, of course).
I agree. zope.testing.loggingsupport is for testing logging, not for
logging while testing. :)
Jim
--
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Zope3-dev
mailing list