Exemple #1
0
 def setUp(cls):
     """Set up additional products and ZCML required to test
     this product.
     """
     ptc.setupPloneSite()
     installProduct('CMFDiffTool')
     if HAS_AT_SCHEMA_EXTENDER:
         zcml.load_config('configure.zcml', schemaextender)
     PloneSite.setUp()
Exemple #2
0
 def setUp(cls):
     """Set up additional products and ZCML required to test
     this product.
     """
     ptc.setupPloneSite()
     installProduct('CMFDiffTool')
     if HAS_AT_SCHEMA_EXTENDER:
         zcml.load_config('configure.zcml', schemaextender)
     PloneSite.setUp()
 def setUp(cls):
     """ """
     fiveconfigure.debug_mode = True
     import slc.calendarfetcher
     zcml.load_config('configure.zcml', slc.calendarfetcher)
     fiveconfigure.debug_mode = False
     ztc.installPackage('slc.calendarfetcher')
     browserlayerutils.register_layer(
                             ICalendarFetcherLayer,
                             name='slc.calendarfetcher'
                             )
     PloneSite.setUp()
 def tearDown(cls):
     PloneSite.tearDown()
 def setUp(cls):
     PloneSite.setUp()
     fiveconfigure.debug_mode = True
     zcml.load_config("configure.zcml", collective.psc.mirroring)
     fiveconfigure.debug_mode = False
     ztc.installPackage("collective.psc.mirroring")
Exemple #6
0
 def setUp(cls):
     ptc.setupPloneSite(products=['eXtremeManagement'])
     PloneSite.setUp()
     setup_xm_content_and_roles()
     transaction.commit()