本文整理汇总了Python中Products.GenericSetup.tests.common.BaseRegistryTests类的典型用法代码示例。如果您正苦于以下问题:Python BaseRegistryTests类的具体用法?Python BaseRegistryTests怎么用?Python BaseRegistryTests使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了BaseRegistryTests类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: setUp
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)
示例2: setUp
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)
示例3: setUp
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)
示例4: setUp
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)
示例5: tearDown
def tearDown(self):
BaseRegistryTests.tearDown(self)
cleanUp()
示例6: tearDown
def tearDown(self):
_DVRegistrySetup.tearDown(self)
BaseRegistryTests.tearDown(self)
cleanUp()
示例7: tearDown
def tearDown(self):
BaseRegistryTests.tearDown(self)
PlacelessSetup.tearDown(self)
示例8: setUp
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)
示例9: setUp
def setUp(self):
BaseRegistryTests.setUp(self)
_DVRegistrySetup.setUp(self)
示例10: tearDown
def tearDown(self):
self._free_warning_output()
BaseRegistryTests.tearDown(self)
示例11: setUp
def setUp(self):
BaseRegistryTests.setUp(self)
self._trap_warning_output()
示例12: setUp
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)