Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(3) | Call(1) | Derive(0) | Import(2)
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_result_set(self): data = BrainResultSet(['foo', 'bar'], total_length=15) self.assertEqual(data[0], 'foo') self.assertEqual(data[1], 'bar') self.assertEqual(data.get_total_length(), 15)
src/f/t/ftw.bridge.client-1.0.8/ftw/bridge/client/tests/test_request.py ftw.bridge.client(Download)
from AccessControl import SecurityManagement from AccessControl.users import SimpleUser from ZODB.POSException import ConflictError from ftw.bridge.client.brain import BrainResultSet from ftw.bridge.client.exceptions import MaintenanceError