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

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

src/p/r/Products.membrane-2.1.11/Products/membrane/tests/testMembraneUserManager.py   Products.membrane(Download)
    def testUserDeleteUser(self):
        usermanager = IMembraneUserManagement(self.member)
        self.failUnless('testuser' in self.portal.objectIds())
        usermanager.doDeleteUser('testuser')
        self.failIf('testuser' in self.portal.objectIds())
    def testAllowChangePassword(self):
        self.failUnless(
            IPasswordSetCapability.providedBy(self.portal.acl_users.pmm))
 
    def testChangeOtherData(self):
    def testDeleteUser(self):
        pmm = self.portal.acl_users.pmm
        self.failUnless('testuser' in self.portal.objectIds())
        pmm.doDeleteUser('testuser')
        self.failIf('testuser' in self.portal.objectIds())