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

All Samples(31)  |  Call(0)  |  Derive(22)  |  Import(9)

src/f/t/ftw.publisher.sender-2.2.0/ftw/publisher/sender/tests/builders.py   ftw.publisher.sender(Download)
from ftw.builder import builder_registry
from ftw.builder.archetypes import ArchetypesBuilder
 
 
class ContentPageBuilder(ArchetypesBuilder):
class TextBlockBuilder(ArchetypesBuilder):
    portal_type = 'TextBlock'
 
builder_registry.register('text block', TextBlockBuilder)
 
 
class ListingBlockBuilder(ArchetypesBuilder):

src/i/z/izug.ticketbox-4.5.8/izug/ticketbox/tests/builder.py   izug.ticketbox(Download)
from ftw.builder.archetypes import ArchetypesBuilder
from ftw.builder import builder_registry
 
 
class TicketBoxBuilder(ArchetypesBuilder):
class TicketBuilder(ArchetypesBuilder):
    portal_type = 'Ticket'
 
builder_registry.register('ticket', TicketBuilder)
 

src/f/t/ftw.publisher.core-2.4.0/ftw/publisher/core/tests/builders.py   ftw.publisher.core(Download)
from ftw.builder.archetypes import ArchetypesBuilder
from ftw.builder import builder_registry
 
 
DEFAULT_QUERY = [{
class CollectionBuilder(ArchetypesBuilder):
    portal_type = 'Collection'
 
    def with_default_query(self):
        self.arguments['query'] = DEFAULT_QUERY

src/f/t/ftw.subsite-1.3.1/ftw/subsite/tests/builders.py   ftw.subsite(Download)
from ftw.builder.archetypes import ArchetypesBuilder
from ftw.builder import builder_registry
 
 
class SubsiteBuilder(ArchetypesBuilder):

src/f/t/ftw.contentpage-1.6.5/ftw/contentpage/tests/builders.py   ftw.contentpage(Download)
from ftw.builder import builder_registry
from ftw.builder.archetypes import ArchetypesBuilder
from zope.interface import alsoProvides
 
 
class ContentPageBuilder(ArchetypesBuilder):
class NewsFolderBuilder(ArchetypesBuilder):
 
    portal_type = 'NewsFolder'
 
 
class EventFolderBuilder(ArchetypesBuilder):
 
    portal_type = 'EventFolder'
 
 

src/f/t/ftw.meeting-1.4.9/ftw/meeting/tests/builders.py   ftw.meeting(Download)
from ftw.builder import builder_registry
from ftw.builder.archetypes import ArchetypesBuilder
 
 
class MeetingBuilder(ArchetypesBuilder):
class MeetingItemBuilder(ArchetypesBuilder):
 
    portal_type = 'Meeting Item'
 
builder_registry.register('meeting item', MeetingItemBuilder)
 
 
class TaskBuilder(ArchetypesBuilder):

src/f/t/ftw.blog-1.6.1/ftw/blog/tests/builders.py   ftw.blog(Download)
from ftw.builder.archetypes import ArchetypesBuilder
from ftw.builder import builder_registry
 
 
class BlogBuilder(ArchetypesBuilder):
class BlogEntryBuilder(ArchetypesBuilder):
    portal_type = 'BlogEntry'
 
builder_registry.register('blog entry', BlogEntryBuilder)
 

src/f/t/ftw.workspace-2.1.0/ftw/workspace/tests/builders.py   ftw.workspace(Download)
from ftw.builder import builder_registry
from ftw.builder.archetypes import ArchetypesBuilder
from StringIO import StringIO
 
 
class WorkspaceBuilder(ArchetypesBuilder):
    portal_type = 'Workspace'
 
 
class TabbedViewFolderBuilder(ArchetypesBuilder):
class ImageBuilder(ArchetypesBuilder):
 
    portal_type = 'Image'
 
    def attach_image_containing(self, iocontent, name="test.gif"):

src/f/t/ftw.book-2.2.20/ftw/book/tests/builders.py   ftw.book(Download)
from ftw.builder import builder_registry
from ftw.builder.archetypes import ArchetypesBuilder
from ftw.pdfgenerator.utils import provide_request_layer
 
 
class BookBuilder(ArchetypesBuilder):
class ChapterBuilder(ArchetypesBuilder):
 
    portal_type = 'Chapter'
 
builder_registry.register('chapter', ChapterBuilder)
 
 
class ParagraphBuilder(ArchetypesBuilder):
class TableBuilder(ArchetypesBuilder):
 
    portal_type = 'Table'
 
    def __init__(self, *args, **kwargs):