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

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)

src/f/t/ftw.permissionmanager-2.1.1/ftw/permissionmanager/tests/test_sharing.py   ftw.permissionmanager(Download)
from ftw.permissionmanager.testing import FTW_PERMISSIONMANAGER_INTEGRATION_TESTING, TEST_USER_ID_2
import unittest2 as unittest
from plone.app.testing import TEST_USER_NAME, TEST_USER_ID, login, logout
from ftw.permissionmanager.browser.sharing import SharingView
 
 
class TestRemovePermissions(unittest.TestCase):
    """Sharing is well tested by Plone, so just our customized methods"""
 
    layer = FTW_PERMISSIONMANAGER_INTEGRATION_TESTING

src/f/t/ftw.permissionmanager-2.1.1/ftw/permissionmanager/tests/test_remove_permissions.py   ftw.permissionmanager(Download)
from zope.component import getMultiAdapter
from ftw.permissionmanager.testing import FTW_PERMISSIONMANAGER_INTEGRATION_TESTING
import unittest2 as unittest
from plone.app.testing import TEST_USER_NAME, TEST_USER_PASSWORD, TEST_USER_ID
from plone.testing.z2 import Browser
import transaction
 
class TestRemovePermissions(unittest.TestCase):
 
    layer = FTW_PERMISSIONMANAGER_INTEGRATION_TESTING

src/f/t/ftw.permissionmanager-2.1.1/ftw/permissionmanager/tests/test_export_import.py   ftw.permissionmanager(Download)
from zope.component import getMultiAdapter
from ftw.permissionmanager.testing import (
    FTW_PERMISSIONMANAGER_INTEGRATION_TESTING,
    TEST_USER_ID_2)
from plone.app.testing import TEST_USER_ID
class TestCopyPermissions(unittest.TestCase):
 
    layer = FTW_PERMISSIONMANAGER_INTEGRATION_TESTING
 
    def setUp(self):

src/f/t/ftw.permissionmanager-2.1.1/ftw/permissionmanager/tests/test_copy_permissions.py   ftw.permissionmanager(Download)
from zope.component import getMultiAdapter
from ftw.permissionmanager.testing import (
    FTW_PERMISSIONMANAGER_INTEGRATION_TESTING,
    TEST_USER_ID_2, TEST_GROUP_ID, TEST_GROUP_ID_2)
import unittest2 as unittest
class TestCopyPermissions(unittest.TestCase):
 
    layer = FTW_PERMISSIONMANAGER_INTEGRATION_TESTING
 
    def setUp(self):