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

All Samples(77)  |  Call(34)  |  Derive(0)  |  Import(43)

src/p/l/Plomino-HEAD/Products/CMFPlomino/tests/test_plominoutils.py   Plomino(Download)
import unittest
from AccessControl.unauthorized import Unauthorized
from DateTime import DateTime
import Missing
from decimal import Decimal

src/p/l/Plomino-HEAD/Products/CMFPlomino/tests/test_displayfieldindex.py   Plomino(Download)
import unittest
from AccessControl.unauthorized import Unauthorized
from DateTime import DateTime
import Missing
from decimal import Decimal

src/c/o/collective.nitf-HEAD/src/collective/nitf/portlets/latest_sectionable_nitf.py   collective.nitf(Download)
# -*- coding: utf-8 -*-
 
from AccessControl.unauthorized import Unauthorized
from collective.nitf import _
from collective.prettydate.interfaces import IPrettyDate

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/tests/test_baseobject.py   Products.Archetypes(Download)
 
        """
        from AccessControl.unauthorized import Unauthorized
        from AccessControl.Permissions import view
        from AccessControl.ZopeGuards import guarded_getattr

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/tests/test_baseobject.py   Products.Archetypes(Download)
 
        """
        from AccessControl.unauthorized import Unauthorized
        from AccessControl.Permissions import view
        from AccessControl.ZopeGuards import guarded_getattr

src/c/o/collective.portlet.contact-1.1.2/collective/portlet/contact/tests/test_controlpanel.py   collective.portlet.contact(Download)
#from collective.portlet.contact import testing
from collective.portlet.contact.tests import base
from AccessControl.unauthorized import Unauthorized
PROJECTNAME = "collective.portlet.contact"
 

src/p/r/Products.CMFPlomino-1.18.6/Products/CMFPlomino/tests/test_plominoutils.py   Products.CMFPlomino(Download)
import unittest
from AccessControl.unauthorized import Unauthorized
from DateTime import DateTime
import Missing
from decimal import Decimal

src/p/r/Products.CMFPlomino-1.18.6/Products/CMFPlomino/tests/test_displayfieldindex.py   Products.CMFPlomino(Download)
import unittest
from AccessControl.unauthorized import Unauthorized
from DateTime import DateTime
import Missing
from decimal import Decimal

src/c/o/collective.nitf-1.0b3/src/collective/nitf/portlets/latest_sectionable_nitf.py   collective.nitf(Download)
# -*- coding: utf-8 -*-
 
from AccessControl.unauthorized import Unauthorized
from collective.nitf import _
from collective.prettydate.interfaces import IPrettyDate

src/c/o/collective.easytemplate-0.8.0/collective/easytemplate/tests/test_jinja_zope_security.py   collective.easytemplate(Download)
    def test_unallowed_traverse(self):
        """ doc is unpublished object """
 
        from AccessControl.unauthorized import Unauthorized
        #unauthorized = AccessControl.Unauthorized
    def test_unallowed_attribute(self):
 
        from AccessControl.unauthorized import Unauthorized
 
        try:
    def test_unallowed_method(self):
        """ Anonymous user should not be able to call setTitle """
 
        from AccessControl.unauthorized import Unauthorized
 
    def test_unallowed_traversed_method(self):
        """ Anonymous user should not be able to call setTitle on parent """
 
        from AccessControl.unauthorized import Unauthorized
 

Previous  1 | 2 | 3 | 4 | 5  Next