Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(3)  |  Derive(1)  |  Import(8)

src/e/r/erp5-HEAD/product/ERP5Type/patches/CachingPolicyManager.py   erp5(Download)
from Products.CMFCore.CachingPolicyManager import CachingPolicy, \
    CachingPolicyManager
from App.special_dtml import DTMLFile
from Products.CMFCore.Expression import Expression
from App.Common import rfc1123_date

src/p/r/Products.CacheSetup-1.2.1/Products/CacheSetup/content/caching_policy_manager.py   Products.CacheSetup(Download)
from Products.CMFCore import permissions
from Products.CMFCore.utils import getToolByName
from Products.CMFCore.CachingPolicyManager import CachingPolicyManager as CMFCachingPolicyManager
 
from Products.CacheSetup.config import CACHE_TOOL_ID
 
class CSCachingPolicyManager( CMFCachingPolicyManager ):

src/p/r/Products.CMFPlone-HEAD/Products/CMFPlone/tests/testPortalCreation.py   Products.CMFPlone(Download)
from Acquisition import aq_base
 
from Products.CMFCore.CachingPolicyManager import CachingPolicyManager
from Products.CMFCore.permissions import AccessInactivePortalContent
from Products.CMFCore.utils import getToolByName

src/p/r/Products.CMFPlone-5.0a2/Products/CMFPlone/tests/testPortalCreation.py   Products.CMFPlone(Download)
from Acquisition import aq_base
 
from Products.CMFCore.CachingPolicyManager import CachingPolicyManager
from Products.CMFCore.permissions import AccessInactivePortalContent
from Products.CMFCore.utils import getToolByName

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_CachingPolicyManager.py   Products.CMFCore(Download)
    def _makeOne(self, *args, **kw):
        from Products.CMFCore.CachingPolicyManager import CachingPolicyManager
 
        return CachingPolicyManager(*args, **kw)
 
    def test_interfaces(self):
        from Products.CMFCore.CachingPolicyManager import CachingPolicyManager
        from Products.CMFCore.interfaces import ICachingPolicyManager
 
        verifyClass(ICachingPolicyManager, CachingPolicyManager)

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/exportimport/tests/test_cachingpolicymgr.py   Products.CMFCore(Download)
    def setUp(self):
        from Products.CMFCore.CachingPolicyManager import CachingPolicyManager
 
        self._obj = CachingPolicyManager()
        self._BODY = _CPM_BODY
    def _initSite(self, with_policy=False):
        from Products.CMFCore.CachingPolicyManager import CachingPolicyManager
 
        self.root.site = Folder(id='site')
        site = self.root.site
        mgr = CachingPolicyManager()