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

All Samples(15)  |  Call(0)  |  Derive(0)  |  Import(15)
API module to set the security policy

src/z/o/Zope-HEAD/src/Products/PageTemplates/tests/testHTMLTests.py   Zope(Download)
from Products.PageTemplates.interfaces import IUnicodeEncodingConflictResolver
from Products.PageTemplates.unicodeconflictresolver import DefaultUnicodeEncodingConflictResolver
from AccessControl import SecurityManager
from AccessControl.SecurityManagement import noSecurityManager
 

src/z/o/Zope-HEAD/src/Products/PageTemplates/tests/testDTMLTests.py   Zope(Download)
from Products.PageTemplates.unicodeconflictresolver import DefaultUnicodeEncodingConflictResolver
from Acquisition import Implicit
from AccessControl import SecurityManager
from AccessControl.SecurityManagement import noSecurityManager
 

src/z/o/Zope-HEAD/src/OFS/tests/testTraverse.py   Zope(Download)
    def setUp( self ):
        import cStringIO
        import transaction
        from AccessControl import SecurityManager
        from AccessControl.SecurityManagement import newSecurityManager
    def _setupSecurity(self, policy=None):
        from AccessControl import SecurityManager
        from AccessControl.SecurityManagement import noSecurityManager
        if policy is None:
            policy = self.oldPolicy

src/z/o/Zope-HEAD/src/OFS/tests/testCopySupport.py   Zope(Download)
 
import transaction
from AccessControl import SecurityManager
from AccessControl.SecurityManagement import newSecurityManager
from AccessControl.SecurityManagement import noSecurityManager

src/p/r/Products.Reflecto-3.0.5/Products/Reflecto/tests/testDirectory.py   Products.Reflecto(Download)
 
from Acquisition import Implicit
from AccessControl import SecurityManager
from AccessControl.SecurityManagement import newSecurityManager
from AccessControl.SecurityManagement import noSecurityManager

src/z/o/Zope2-2.13.22/src/Products/PageTemplates/tests/testHTMLTests.py   Zope2(Download)
from Products.PageTemplates.interfaces import IUnicodeEncodingConflictResolver
from Products.PageTemplates.unicodeconflictresolver import DefaultUnicodeEncodingConflictResolver
from AccessControl import SecurityManager
from AccessControl.SecurityManagement import noSecurityManager
 

src/z/o/Zope2-2.13.22/src/Products/PageTemplates/tests/testDTMLTests.py   Zope2(Download)
from Products.PageTemplates.unicodeconflictresolver import DefaultUnicodeEncodingConflictResolver
from Acquisition import Implicit
from AccessControl import SecurityManager
from AccessControl.SecurityManagement import noSecurityManager
 

src/z/o/Zope2-2.13.22/src/OFS/tests/testTraverse.py   Zope2(Download)
    def setUp( self ):
        import cStringIO
        import transaction
        from AccessControl import SecurityManager
        from AccessControl.SecurityManagement import newSecurityManager
    def _setupSecurity(self, policy=None):
        from AccessControl import SecurityManager
        from AccessControl.SecurityManagement import noSecurityManager
        if policy is None:
            policy = self.oldPolicy

src/z/o/Zope2-2.13.22/src/OFS/tests/testCopySupport.py   Zope2(Download)
 
import transaction
from AccessControl import SecurityManager
from AccessControl.SecurityManagement import newSecurityManager
from AccessControl.SecurityManagement import noSecurityManager

src/p/r/Products.CMFUid-2.3.0-beta/Products/CMFUid/tests/test_uidannotation.py   Products.CMFUid(Download)
 
import transaction
from AccessControl import SecurityManager
from AccessControl.SecurityManagement import newSecurityManager
from Acquisition import Implicit

  1 | 2  Next