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

Yvo Schubbe <[email protected]>
Newsgroups gmane.comp.web.zope.cmf.cvs
Message-ID <[email protected]>
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):
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.