示例#1
0
 def afterSetUp(self):
     fiveconfigure.debug_mode = True
     import qi.portlet.TagClouds
     zcml.load_config('configure.zcml', qi.portlet.TagClouds)
     fiveconfigure.debug_mode = False
     installPackage('qi.portlet.TagClouds', quiet=True)
     self.addProduct('qi.portlet.TagClouds')
示例#2
0
文件: testing.py 项目: Vinsurya/Plone
 def afterSetUp(self):
     fiveconfigure.debug_mode = True
     import qi.portlet.TagClouds
     zcml.load_config('configure.zcml', qi.portlet.TagClouds)
     fiveconfigure.debug_mode = False
     installPackage('qi.portlet.TagClouds', quiet=True)
     self.addProduct('qi.portlet.TagClouds')
 def setUp(cls):
     """Sets up pas.plugins.trustedproxyauth so that the plugin
     is registered.
     """
     fiveconfigure.debug_mode = True
     zcml.load_config('configure.zcml',
                      pas.plugins.trustedproxyauth)
     fiveconfigure.debug_mode = False
     installPackage('pas.plugins.trustedproxyauth', quiet=True)
示例#4
0
 def afterSetUp(self):
     # load zcml for this package and its dependencies
     fiveconfigure.debug_mode = True
     from plonetheme import Formation
     zcml.load_config('configure.zcml', package=Formation)
     fiveconfigure.debug_mode = False
     # after which the required packages can be initialized
     installPackage('plonetheme.Formation', quiet=True)
     # finally load the testing profile
     self.addProfile('plonetheme.Formation:default')
示例#5
0
 def afterSetUp(self):
     # load zcml for this package and its dependencies
     fiveconfigure.debug_mode = True
     from plonetheme import sunburst
     zcml.load_config('configure.zcml', package=sunburst)
     fiveconfigure.debug_mode = False
     # after which the required packages can be initialized
     installPackage('plonetheme.sunburst', quiet=True)
     # finally load the testing profile
     self.addProfile('plonetheme.sunburst:default')
示例#6
0
 def afterSetUp(self):
     # load zcml for this package and its dependencies
     fiveconfigure.debug_mode = True
     from collective import carousel
     zcml.load_config('testing.zcml', package=carousel)
     zcml.load_config('custom_tile_testing.zcml', package=carousel)
     fiveconfigure.debug_mode = False
     # after which the required packages can be initialized
     installPackage('collective.carousel', quiet=True)
     # finally load the testing profile
     self.addProfile('collective.carousel:default')
示例#7
0
    def afterSetUp(self):
        # load zcml for this package and its dependencies
        fiveconfigure.debug_mode = True
        from plonetheme import ewb_case

        zcml.load_config("configure.zcml", package=ewb_case)
        fiveconfigure.debug_mode = False
        # after which the required packages can be initialized
        installPackage("plonetheme.ewb_case", quiet=True)
        # finally load the testing profile
        self.addProfile("plonetheme.ewb_case:default")
示例#8
0
    def afterSetUp(self):
        # load zcml for this package and its dependencies
        fiveconfigure.debug_mode = True
        from plonetheme import oa
        zcml.load_config('configure.zcml', package=oa)
        fiveconfigure.debug_mode = False
        # after which the required packages can be initialized
#        installPackage('my315ok.portlet.logo', quiet=True)
        installPackage('plonetheme.oa', quiet=True)
        
        # finally load the testing profile
#        self.addProfile('my315ok.portlet.logo:default')
        self.addProfile('plonetheme.oa:default')