示例#1
0
    def setUpZope(self, app, configurationContext):
        # load ZCML
        import plone.app.theming.tests
        xmlconfig.file('configure.zcml', plone.app.theming.tests, context=configurationContext)

        # Run the startup hook
        from plone.app.theming.plugins.hooks import onStartup
        onStartup(None)
示例#2
0
 def setUpZope(self, app, configurationContext):
     import rapido.plone.tests
     xmlconfig.file('configure.zcml',
                    rapido.plone.tests,
                    context=configurationContext)
     # Run the startup hook
     from plone.app.theming.plugins.hooks import onStartup
     onStartup(None)
示例#3
0
    def setUpZope(self, app, configurationContext):
        # load ZCML
        import plone.app.theming.tests
        import plone.app.caching
        xmlconfig.file('configure.zcml',
                       plone.app.caching,
                       context=configurationContext)
        xmlconfig.file('configure.zcml',
                       plone.app.theming.tests,
                       context=configurationContext)

        # Run the startup hook
        from plone.app.theming.plugins.hooks import onStartup
        onStartup(None)
示例#4
0
 def setUpZope(self, app, configurationContext):
     self.loadZCML(package=plone.app.theming)
     xmlconfig.file(
         'configure.zcml',
         plone.app.theming,
         context=configurationContext
     )
     self.loadZCML(package=ploneintranet.themeswitcher)
     xmlconfig.file(
         'configure.zcml',
         ploneintranet.themeswitcher,
         context=configurationContext
     )
     # Run the startup hook
     from plone.app.theming.plugins.hooks import onStartup
     onStartup(None)