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

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

src/c/o/collective.groupspace.roles-1.0.3/collective/groupspace/roles/tests/test_roles_view.py   collective.groupspace.roles(Download)
from collective.groupspace.roles.interfaces import ILocalGroupSpacePASRoles
from Globals import PersistentMapping
from collective.groupspace.roles.browser.roles import RolesView
 
class TestRolesView(PloneTestCase):
    def test_existing_role_settings(self):
        context = None
        request = {}
        roles_view = RolesView(self.folder, request)
        self.assertEqual([], roles_view.existing_role_settings())
 
    def test_roles(self):
        context = None
        request = {}
        roles_view = RolesView(self.folder, request)
    def test_update_inherit(self):
        context = None
        request = {}
        roles_view = RolesView(self.folder, request)
        status = None
    def test_update_role_settings(self):
        context = None
        request = {}
        roles_view = RolesView(self.folder, request)
        new_settings = []