mò /á¸Ec@s˜dZdkZdkZdklZdkZdklZdeifd„ƒYZ defd„ƒYZ d„Z e d joei d d ƒndS( s;Tests of the integration with the standard logging package.N(sLoggingTestBase(s log_writetCollectingHandlercBstZd„Zd„ZRS(NcCstii|ƒg|_dS(N(tloggingtHandlert__init__tselftrecords(R((t6/data/zmath/zope/lib/python/zLOG/tests/test_logging.pyRscCs|ii|ƒdS(N(RRtappendtrecord(RR((Rtemit s(t__name__t __module__RR (((RRs tLoggingIntegrationTestCasecBstZd„Zd„ZRS(NcCsNti|ƒtƒ|_|ii|_tiƒ|_|ii |iƒdS(N( tLoggingTestBasetsetUpRRthandlerRRt getLoggertloggert addHandler(R((RR&s   cCsŒtdtidddƒ|it|iƒdƒ|id}|i|i t i ƒ|i|i dƒ|i idƒ|i idƒdS(Nssample.subsystemtsummarytdetailii(t log_writetzLOGtWARNINGtNoneRt assertEqualtlenRRtlevelnoRtWARNtnametmsgtindex(RR((Rttest_log_record-s (R R RR (((RR $s cCs titƒS(N(tunittestt makeSuiteR (((Rt test_suite:st__main__t defaultTestR#(t__doc__RR!t+ZConfig.components.logger.tests.test_loggerR RtzLOG.EventLoggerRRRR R#R tmain(RRR!RR#R RR ((Rt?s