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

All Samples(14)  |  Call(0)  |  Derive(8)  |  Import(6)

src/f/t/ftw.zipexport-1.1.1/ftw/zipexport/tests/test_dexterity_representation_namedfile.py   ftw.zipexport(Download)
from ftw.builder import Builder, create
from ftw.builder import registry
from ftw.builder.dexterity import DexterityBuilder
from ftw.zipexport.interfaces import IZipRepresentation
from ftw.zipexport.representations import dexterity as ftwdexterity
class NamedFileBuilder(DexterityBuilder):
    portal_type = 'namedfile'
registry.builder_registry.register('namedfile', NamedFileBuilder)
 
 

src/f/t/ftw.zipexport-1.1.1/ftw/zipexport/tests/test_dexterity_representation.py   ftw.zipexport(Download)
from ftw.builder import Builder, create
from ftw.builder import registry
from ftw.builder.dexterity import DexterityBuilder
from ftw.zipexport.interfaces import IZipRepresentation
from ftw.zipexport.testing import FTW_ZIPEXPORT_INTEGRATION_TESTING
class NoteBuilder(DexterityBuilder):
    portal_type = 'note'
registry.builder_registry.register('note', NoteBuilder)
 
 
class InvitationBuilder(DexterityBuilder):

src/f/t/ftw.mail-2.1.0/ftw/mail/tests/builders.py   ftw.mail(Download)
from ftw.builder import builder_registry
from ftw.builder.dexterity import DexterityBuilder
from plone.namedfile import NamedBlobFile
 
 
class MailBuilder(DexterityBuilder):

src/f/t/ftw.slider-1.2.0/ftw/slider/tests/builders.py   ftw.slider(Download)
from StringIO import StringIO
from ftw.builder import builder_registry
from ftw.builder.dexterity import DexterityBuilder
 
 
class SliderContainerBuilder(DexterityBuilder):
class SliderPaneBuilder(DexterityBuilder):
    portal_type = 'ftw.slider.Pane'
 
    def with_dummy_image(self):
        dummy_image = StringIO(

src/f/t/ftw.contenttemplates-1.2.0/ftw/contenttemplates/testing.py   ftw.contenttemplates(Download)
    HAS_DEXTERITY = True
    from ftw.builder import builder_registry
    from ftw.builder.dexterity import DexterityBuilder
    from plone.dexterity.fti import DexterityFTI
 
    class FolderBuilder(DexterityBuilder):
        portal_type = 'Folder'
 
    class DexterityLayer(PloneSandboxLayer):
        defaultBases = (PLONE_FIXTURE, BUILDER_LAYER)

src/f/t/ftw.solr-1.3/ftw/solr/tests/builders.py   ftw.solr(Download)
from ftw.builder import builder_registry
from ftw.builder.dexterity import DexterityBuilder
 
 
class DexterityFolderBuilder(DexterityBuilder):