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

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

src/d/e/dexterity.membrane-0.4/dexterity/membrane/behavior/membraneuser.py   dexterity.membrane(Download)
from Products.membrane.interfaces import IMembraneUserChanger
from Products.membrane.interfaces import IMembraneUserObject
from Products.membrane.interfaces import IMembraneUserProperties
from five import grok
from plone.app.content.interfaces import INameFromTitle

src/p/r/Products.membrane-2.1.11/Products/membrane/tests/testMembranePropertyManager.py   Products.membrane(Download)
 
from Products.membrane.interfaces import IMembraneUserAuth
from Products.membrane.interfaces import IMembraneUserProperties
from Products.membrane.config import TOOLNAME
from Products.membrane.at.relations import UserRelatedRelation
    def testGetPropertiesForUserOnUser(self):
        mem_props = IMembraneUserProperties(self.member)
        properties = mem_props.getPropertiesForUser(None)
 
        self.failUnless(properties.hasProperty('fullname'))
    def testGetPropertiesForUserOnUser(self):
        mem_props = IMembraneUserProperties(self.member)
        properties = mem_props.getPropertiesForUser(None)
        self.failUnless(properties.hasProperty('homePhone'))