Back to index

plone3  3.1.7
testing.py
Go to the documentation of this file.
00001 from zope.app.component.hooks import setHooks
00002 from zope.testing.cleanup import cleanUp
00003 from Products.Five import zcml
00004 
00005 class UidEventZCMLLayer:
00006 
00007     @classmethod
00008     def testSetUp(cls):
00009         import Products
00010 
00011         zcml.load_config('meta.zcml', Products.Five)
00012         zcml.load_config('event.zcml', Products.Five)
00013         zcml.load_config('event.zcml', Products.CMFUid)
00014         setHooks()
00015 
00016     @classmethod
00017     def testTearDown(cls):
00018         cleanUp()
00019