Beispiel #1
0
 def setUp(self):
     BaseRegistryTests.setUp(self)
     self.app = self.layer['app']
     self.site = self.layer['portal']
     sm = self.site.getSiteManager()
     sm.registerUtility(ViewletSettingsStorage(), IViewletSettingsStorage)
     self.storage = getUtility(IViewletSettingsStorage)
Beispiel #2
0
 def setUp(self):
     PlacelessSetup.setUp(self)
     BaseRegistryTests.setUp(self)
     zcml.load_config('meta.zcml', Products.Five)
     zcml.load_config('configure.zcml', Products.GenericSetup.PluginIndexes)
     zcml.load_config('configure.zcml', Products.GenericSetup.ZCatalog)
     zcml.load_config('configure.zcml', Products.GenericSetup.ZCTextIndex)
Beispiel #3
0
    def setUp(self):
        import Products.CMFCore.exportimport

        PlacelessSetup.setUp(self)
        BaseRegistryTests.setUp(self)
        zcml.load_config('meta.zcml', Products.Five)
        zcml.load_config('configure.zcml', Products.CMFCore.exportimport)
Beispiel #4
0
    def setUp(self):
        import Products.CMFCore.exportimport

        PlacelessSetup.setUp(self)
        BaseRegistryTests.setUp(self)
        zcml.load_config('meta.zcml', Products.Five)
        zcml.load_config('configure.zcml', Products.CMFCore.exportimport)
Beispiel #5
0
 def setUp(self):
     BaseRegistryTests.setUp(self)
     zcml.load_config('meta.zcml', Products.Five)
     zcml.load_config('configure.zcml',
                      Products.GenericSetup.PluginIndexes)
     zcml.load_config('configure.zcml', Products.GenericSetup.ZCatalog)
     zcml.load_config('configure.zcml', Products.GenericSetup.ZCTextIndex)
Beispiel #6
0
    def setUp(self):
        import Products.GenericSetup.MailHost

        PlacelessSetup.setUp(self)
        BaseRegistryTests.setUp(self)
        zcml.load_config('meta.zcml', Products.Five)
        zcml.load_config('configure.zcml', Products.GenericSetup.MailHost)
Beispiel #7
0
    def setUp(self):
        import Products.GenericSetup.MailHost

        PlacelessSetup.setUp(self)
        BaseRegistryTests.setUp(self)
        zcml.load_config('meta.zcml', Products.Five)
        zcml.load_config('configure.zcml', Products.GenericSetup.MailHost)
Beispiel #8
0
 def setUp(self):
     BaseRegistryTests.setUp(self)
     self.app = self.layer['app']
     self.site = self.layer['portal']
     sm = self.site.getSiteManager()
     sm.registerUtility(ViewletSettingsStorage(), IViewletSettingsStorage)
     self.storage = getUtility(IViewletSettingsStorage)
Beispiel #9
0
 def setUp(self):
     BaseRegistryTests.setUp(self)
     setHooks()
     self.root.site = Folder(id='site')
     self.site = self.root.site
     make_objectmanager_site(self.site)
     setSite(self.site)
     sm = getSiteManager(self.site)
     sm.registerUtility(ViewletSettingsStorage(), IViewletSettingsStorage)
     self.storage = getUtility(IViewletSettingsStorage)
Beispiel #10
0
 def setUp(self):
     BaseRegistryTests.setUp(self)
     setHooks()
     self.root.site = Folder(id='site')
     self.site = self.root.site
     gen = PloneGenerator()
     gen.enableSite(self.site)
     setSite(self.site)
     sm = getSiteManager(self.site)
     sm.registerUtility(MarscatsSettingsStorage(), IMarscatsSettingsStorage)
     self.storage = getUtility(IMarscatsSettingsStorage)
Beispiel #11
0
 def tearDown(self):
     BaseRegistryTests.tearDown(self)
     PlacelessSetup.tearDown(self)
Beispiel #12
0
 def setUp(self):
     BaseRegistryTests.setUp(self)
     zcml.load_config('meta.zcml', Products.Five)
     zcml.load_config('permissions.zcml', Products.Five)
     zcml.load_config('configure.zcml', Products.CMFCore)
Beispiel #13
0
 def setUp(self):
     BaseRegistryTests.setUp(self)
     zcml.load_config('meta.zcml', Products.Five)
     zcml.load_config('configure.zcml', Products.CMFCore.exportimport)
     zcml.load_string(_DUMMY_ZCML)
Beispiel #14
0
 def setUp(self):
     PlacelessSetup.setUp(self)
     BaseRegistryTests.setUp(self)
     zcml.load_config('meta.zcml', Products.Five)
     zcml.load_config('permissions.zcml', Products.Five)
     zcml.load_config('configure.zcml', Products.CMFCore)
Beispiel #15
0
 def tearDown(self):
     BaseRegistryTests.tearDown(self)
     cleanUp()
Beispiel #16
0
 def tearDown(self):
     self._free_warning_output()
     BaseRegistryTests.tearDown(self)
Beispiel #17
0
 def setUp(self):
     BaseRegistryTests.setUp(self)
     zcml.load_config('meta.zcml', Products.Five)
     zcml.load_config('configure.zcml', Products.CMFCore.exportimport)
     zcml.load_string(_DUMMY_ZCML)
Beispiel #18
0
 def tearDown(self):
     _DVRegistrySetup.tearDown(self)
     BaseRegistryTests.tearDown(self)
     cleanUp()
Beispiel #19
0
 def setUp(self):
     BaseRegistryTests.setUp(self)
     self._trap_warning_output()
Beispiel #20
0
 def setUp(self):
     BaseRegistryTests.setUp(self)
     _DVRegistrySetup.setUp(self)
Beispiel #21
0
 def tearDown(self):
     BaseRegistryTests.tearDown(self)
     cleanUp()
Beispiel #22
0
 def tearDown(self):
     self._free_warning_output()
     BaseRegistryTests.tearDown(self)
Beispiel #23
0
 def tearDown(self):
     _DVRegistrySetup.tearDown(self)
     BaseRegistryTests.tearDown(self)
Beispiel #24
0
 def setUp(self):
     BaseRegistryTests.setUp(self)
     self._trap_warning_output()
Beispiel #25
0
 def tearDown(self):
     BaseRegistryTests.tearDown(self)
     PlacelessSetup.tearDown(self)
Beispiel #26
0
 def setUp(self):
     BaseRegistryTests.setUp(self)
     _DVRegistrySetup.setUp(self)