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

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

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/tests/test_copying.py   Products.Archetypes(Download)
        # Switch to the manager user context and plant a content item into
        # the member user's member area
        self.login('manager1')
        member_area.invokeFactory('DDocument', id='test_file')
 
        # Switch to "member" context now and try to copy and paste the
        # content item created by "manager1"
        self.login(default_user)

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/tests/test_copying.py   Products.Archetypes(Download)
        # Switch to the manager user context and plant a content item into
        # the member user's member area
        self.login('manager1')
        member_area.invokeFactory('DDocument', id='test_file')
 
        # Switch to "member" context now and try to copy and paste the
        # content item created by "manager1"
        self.login(default_user)

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/tests/test_cmfessentials.py   Products.Archetypes(Download)
    def afterSetUp(self):
        ATSiteTestCase.afterSetUp(self)
        # install AT within portal
        self.login()
        self.demo_instances = []

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/tests/test_cmfessentials.py   Products.Archetypes(Download)
    def afterSetUp(self):
        ATSiteTestCase.afterSetUp(self)
        # install AT within portal
        self.login()
        self.demo_instances = []