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

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

src/f/t/ftw.inflator-1.3.2/ftw/inflator/browser/views.py   ftw.inflator(Download)
from Products.CMFPlone.browser.admin import AddPloneSite
from Products.CMFPlone.browser.admin import Overview
from ftw.inflator import _
from ftw.inflator.bundle import get_bundle_by_name
from ftw.inflator.bundle import get_bundles
                'index': index}
 
        return map(option, enumerate(get_bundles()))
 
 

src/f/t/ftw.inflator-1.3.2/ftw/inflator/tests/test_bundle_getter.py   ftw.inflator(Download)
from ftw.inflator.bundle import get_bundles
from ftw.inflator.testing import META_ZCML
from ftw.testing import MockTestCase
 
 
                    )))
 
        bundles = get_bundles()
        self.assertEquals(type(bundles), list)
        self.assertEquals(len(bundles), 2)
                    )))
 
        bundles = get_bundles()
        self.assertEquals(type(bundles), list)
        self.assertEquals(len(bundles), 4)