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/p/r/Products.BeakerSessionDataManager-1.1/Products/BeakerSessionDataManager/tests/test_sessiondata.py   Products.BeakerSessionDataManager(Download)
    def _getTargetClass(self):
        from Products.BeakerSessionDataManager.sessiondata import BeakerSessionDataObject
        return BeakerSessionDataObject
 
    def _makeOne(self):
        # implement __len__. A simple truth test fails without __len__.
        from collective.beaker.session import SessionObject
        from Products.BeakerSessionDataManager.sessiondata import BeakerSessionDataObject
        session = BeakerSessionDataObject(SessionObject({}))
        self.assertTrue(session)