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

All Samples(9)  |  Call(3)  |  Derive(1)  |  Import(5)

src/e/r/erp5-HEAD/product/ERP5Type/patches/CookieCrumbler.py   erp5(Download)
"""
 
from Products.CMFCore.CookieCrumbler import CookieCrumbler
from Products.CMFCore.CookieCrumbler import CookieCrumblerDisabled
from urllib import quote, unquote
class PatchedCookieCrumbler(CookieCrumbler):
  """
    This class is only for backward compatibility.
  """
  pass

src/p/r/Products.Bitakora-1.1/Products/Bitakora/BitakoraCommunity.py   Products.Bitakora(Download)
    from Products.CookieCrumbler.CookieCrumbler import CookieCrumbler
except:
    from Products.CMFCore.CookieCrumbler import CookieCrumbler
 
# BTreeFolder2

src/e/r/erp5-HEAD/product/ERP5Type/tests/testCookieCrumbler.py   erp5(Download)
from ZPublisher.HTTPResponse import HTTPResponse
 
from Products.CMFCore.CookieCrumbler \
     import CookieCrumbler, manage_addCC, Redirect
from Products.CMFCore.tests.test_CookieCrumbler import makerequest
    root._setObject(users.id, users)
 
    cc = CookieCrumbler()
    cc.id = 'cookie_authentication'
    root._setObject(cc.id, cc)

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_CookieCrumbler.py   Products.CMFCore(Download)
    def _getTargetClass(self):
        from Products.CMFCore.CookieCrumbler  import CookieCrumbler
        return CookieCrumbler
 
    def _makeOne(self, *args, **kw):

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/exportimport/tests/test_cookieauth.py   Products.CMFCore(Download)
from Products.GenericSetup.tests.common import DummyImportContext
 
from Products.CMFCore.CookieCrumbler import CookieCrumbler
from Products.CMFCore.testing import ExportImportZCMLLayer
 
    def setUp(self):
        self._obj = CookieCrumbler('foo_cookiecrumbler')
        self._BODY = _COOKIECRUMBLER_BODY
 
 
    def _initSite(self, use_changed=False):
        self.root.site = Folder(id='site')
        site = self.root.site
        cc = site.cookie_authentication = CookieCrumbler('foo_cookiecrumbler')