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

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/f/t/ftw.bridge.client-1.0.8/ftw/bridge/client/tests/test_watch_action_view.py   ftw.bridge.client(Download)
from AccessControl import SecurityManagement
from AccessControl.users import SimpleUser
from Products.statusmessages.interfaces import IStatusMessage
from ftw.bridge.client.testing import EXAMPLE_CONTENT_LAYER
from ftw.bridge.client.tests.base import RequestAwareTestCase
    def setUp(self):
        RequestAwareTestCase.setUp(self)
 
        user = SimpleUser('john.doe', 'pw', [], [])
        SecurityManagement.newSecurityManager(object(), user)

src/f/t/ftw.bridge.client-1.0.8/ftw/bridge/client/tests/test_request.py   ftw.bridge.client(Download)
from AccessControl import SecurityManagement
from AccessControl.users import SimpleUser
from ZODB.POSException import ConflictError
from ftw.bridge.client.brain import BrainResultSet
from ftw.bridge.client.exceptions import MaintenanceError
    def setUp(self):
        RequestAwareTestCase.setUp(self)
 
        user = SimpleUser('john.doe', 'pw', [], [])
        SecurityManagement.newSecurityManager(object(), user)

src/f/t/ftw.bridge.client-1.0.8/ftw/bridge/client/tests/test_favorite.py   ftw.bridge.client(Download)
from AccessControl import SecurityManagement
from AccessControl.users import SimpleUser
from Products.CMFCore.utils import getToolByName
from Products.statusmessages.interfaces import IStatusMessage
from ftw.bridge.client.interfaces import PORTAL_URL_PLACEHOLDER
    def setUp(self):
        RequestAwareTestCase.setUp(self)
 
        user = SimpleUser('john.doe', 'pw', [], [])
        SecurityManagement.newSecurityManager(object(), user)