Back to index

plone3  3.1.7
utils.py
Go to the documentation of this file.
00001 #
00002 
00003 from Products.Archetypes.ReferenceEngine import Reference
00004 from Products.PloneTestCase import five
00005 class CustomReference( Reference ): pass
00006         
00007 class IterateLayer:
00008 
00009     def setUp(cls):
00010         '''Sets up the CA by loading etc/site.zcml.'''
00011         five.safe_load_site()
00012     setUp = classmethod(setUp)
00013 
00014     def tearDown(cls):
00015         '''Cleans up the CA.'''
00016         five.cleanUp()
00017     tearDown = classmethod(tearDown)