[CMF-checkins] SVN: CMF/branches/jens_tools_as_utilities/CMFCore/testing.py - fixed test setup

Yvo Schubbe y.2006_ at wcm-solutions.de
Wed Nov 22 04:07:12 EST 2006


Log message for revision 71260:
  - fixed test setup

Changed:
  U   CMF/branches/jens_tools_as_utilities/CMFCore/testing.py

-=-
Modified: CMF/branches/jens_tools_as_utilities/CMFCore/testing.py
===================================================================
--- CMF/branches/jens_tools_as_utilities/CMFCore/testing.py	2006-11-21 22:33:23 UTC (rev 71259)
+++ CMF/branches/jens_tools_as_utilities/CMFCore/testing.py	2006-11-22 09:07:08 UTC (rev 71260)
@@ -19,6 +19,7 @@
 from OFS.SimpleItem import SimpleItem
 from Products.Five import i18n
 from Products.Five import zcml
+from zope.app.component.hooks import setHooks
 from zope.component import adapts
 from zope.i18n.interfaces import IUserPreferredLanguages
 from zope.i18n.testmessagecatalog import TestMessageFallbackDomain
@@ -225,6 +226,7 @@
         zcml.load_config('tool.zcml', Products.CMFCore)
         zcml.load_config('configure.zcml', Products.CMFCore.exportimport)
         zcml.load_string(_DUMMY_ZCML)
+        setHooks()
 
     @classmethod
     def tearDown(cls):



More information about the CMF-checkins mailing list