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

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

src/f/t/ftw.bridge.client-1.0.8/ftw/bridge/client/tests/test_brain.py   ftw.bridge.client(Download)
from Products.CMFCore.utils import getToolByName
from ftw.bridge.client.brain import BrainRepresentation
from ftw.bridge.client.brain import BrainResultSet
from ftw.bridge.client.brain import BrainSerializer
from ftw.bridge.client.interfaces import IBrainRepresentation
    def test_getURL(self):
        obj = BrainRepresentation({'_url': 'http://plone/foo'})
        self.assertEqual(obj.getURL(), 'http://plone/foo')
 
    def test_attribute_access(self):
        obj = BrainRepresentation({