Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list Assign NameStore Call NameLoad Call NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Return Str decorator_list Expr Call NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad Call NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return Str decorator_list decorator_list Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr TupleLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad ClassDef bases NameLoad body Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Assign ListStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad Call NameLoad keyword Call NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword Call NameLoad Call NameLoad keyword Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword Call NameLoad SubscriptLoad NameLoad Index Str Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str decorator_list Return Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword Call NameLoad Str Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list Expr Call NameLoad NameLoad decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword Call NameLoad Call NameLoad keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Return Str decorator_list Expr Call NameLoad NameLoad decorator_list Assign NameStore Call NameLoad keyword Call NameLoad SubscriptLoad Call NameLoad keyword Call NameLoad Str Index Str Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Return SubscriptLoad NameLoad Index Call NameLoad keyword Call NameLoad Str decorator_list Expr Call NameLoad NameLoad decorator_list Assign NameStore Call NameLoad keyword Call NameLoad Call NameLoad keyword Call NameLoad Str Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Return SubscriptLoad NameLoad Index Call NameLoad keyword Call NameLoad Call NameLoad Str decorator_list Expr Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Return Str decorator_list Expr Call NameLoad NameLoad decorator_list Assign NameStore Call NameLoad keyword Call NameLoad Call NameLoad keyword Call NameLoad Str Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad ListLoad Str Assign NameStore ListLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad ListLoad Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad ListLoad Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad keyword NameLoad NameLoad AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad ClassDef bases NameLoad body Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return SubscriptLoad Call NameLoad keyword Call NameLoad Str Index Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return SubscriptLoad NameLoad Index NameLoad decorator_list Expr Call NameLoad NameLoad decorator_list Assign NameStore ListLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Return NameLoad decorator_list decorator_list
N/A N/A 
Tests for L{nevow.page.Element}
 zope.interface.verify verifyObject twisted.internet.defer Deferred twisted.trial.unittest TestCase nevow.rend Page nevow.inevow IRequest IRenderable nevow.testutil FakeRequest nevow.context WovenContext nevow.loaders stan xmlstr nevow.tags directive invisible p nevow.errors MissingRenderMethod MissingDocumentFactory nevow.page FlattenerError Element renderer nevow.page deferflatten newFlatten nevow.flat flatten synchronousFlatten nevow.flat flattenFactory oldFlatten ElementTests N/A TestCase N/A N/A 
    Tests for the awesome new L{Element} class.
     test_renderable N/A N/A self N/A N/A N/A 
        L{Element} implements L{IRenderable}.
         N/A N/A N/A self assertTrue N/A verifyObject IRenderable N/A Element N/A test_missingDocumentFactory N/A N/A self N/A N/A N/A 
        L{Element.render} raises L{MissingDocumentFactory} if the C{docFactory}
        attribute is C{None}.
         N/A element N/A Element N/A err N/A N/A self assertRaises MissingDocumentFactory N/A element render None N/A N/A N/A self assertIdentical N/A err element element N/A test_missingDocumentFactoryRepr N/A N/A self N/A N/A N/A 
        Test that a L{MissingDocumentFactory} instance can be repr()'d without
        error.
         PrettyReprElement N/A Element N/A __repr__ N/A N/A self N/A N/A N/A Pretty Repr Element N/A N/A N/A N/A N/A self assertIn Pretty Repr Element N/A repr N/A MissingDocumentFactory N/A PrettyReprElement N/A test_missingRendererMethod N/A N/A self N/A N/A N/A 
        When called with the name which is not associated with a render method,
        L{Element.renderer} raises L{MissingRenderMethod}.
         N/A element N/A Element N/A err N/A N/A self assertRaises MissingRenderMethod N/A element renderer foo N/A N/A N/A self assertIdentical N/A err element element N/A N/A N/A self assertEqual N/A err renderName foo N/A test_missingRenderMethodRepr N/A N/A self N/A N/A N/A 
        Test that a L{MissingRenderMethod} instance can be repr()'d without
        error.
         PrettyReprElement N/A Element N/A __repr__ N/A N/A self N/A N/A N/A Pretty Repr Element N/A N/A N/A s N/A repr N/A MissingRenderMethod N/A PrettyReprElement expectedMethod N/A N/A N/A self assertIn Pretty Repr Element s N/A N/A N/A self assertIn expectedMethod s N/A test_definedRenderer N/A N/A self N/A N/A N/A 
        When called with the name of a defined render method, L{Element.renderer}
        returns that render method.
         ElementWithRenderMethod N/A Element N/A foo N/A N/A self request tag N/A N/A N/A bar N/A N/A N/A renderer foo N/A N/A foo N/A N/A N/A ElementWithRenderMethod renderer foo N/A N/A N/A self assertEqual N/A foo None None bar N/A test_render N/A N/A self N/A N/A N/A 
        L{Element.render} loads a document from the C{docFactory} attribute and
        returns it.
         N/A args N/A N/A preproc N/A object DocFactory N/A object N/A load N/A N/A self ctx preprocessors precompile N/A None N/A N/A N/A N/A args append preprocessors N/A result N/A N/A N/A element N/A Element N/A N/A element preprocessors N/A preproc N/A N/A element docFactory N/A DocFactory N/A N/A N/A self assertEqual N/A N/A element render None result N/A N/A N/A self assertEqual args N/A N/A preproc N/A test_overriddenRend N/A N/A self N/A N/A N/A 
        If an L{Element} subclass overrides C{rend}, L{Element.render} calls
        the overridden method and returns its result.
         N/A contexts N/A OldStyleElement N/A Element N/A N/A docFactory N/A stan Hello, world! rend N/A N/A self ctx data N/A N/A N/A N/A N/A contexts append ctx N/A N/A N/A Element rend self ctx data N/A N/A N/A request N/A FakeRequest N/A element N/A OldStyleElement N/A N/A N/A self assertEqual N/A N/A element render request N/A Hello, world! N/A N/A ctx contexts N/A N/A N/A self assertTrue N/A isinstance ctx WovenContext N/A N/A N/A self assertIdentical N/A IRequest ctx request N/A N/A FlattenIntegrationTests N/A TestCase N/A N/A 
    Tests for integration between L{Element} and L{nevow._flat.deferflatten}.
     _render N/A N/A self fragment request N/A None N/A N/A 
        Test helper which tries to render the given fragment.
         N/A ctx N/A WovenContext N/A N/A request None N/A N/A request N/A FakeRequest N/A N/A N/A ctx remember request IRequest N/A N/A N/A N/A Page docFactory N/A stan fragment renderString ctx N/A test_missingDocumentFactory N/A N/A self N/A N/A N/A 
        Test that rendering a Element without a docFactory attribute raises
        the appropriate exception.
         cb N/A N/A ignored N/A N/A N/A N/A N/A self flushLoggedErrors MissingDocumentFactory N/A N/A d N/A N/A self assertFailure N/A N/A self _render N/A Element FlattenerError N/A N/A N/A d addCallback cb N/A d N/A test_missingRenderMethod N/A N/A self N/A N/A N/A 
        Test that flattening an L{Element} with a C{docFactory} which has a tag
        with a render directive fails with L{FlattenerError} if there is no
        available render method to satisfy that directive.
         N/A element N/A Element docFactory N/A stan N/A p render N/A directive renderMethod cb N/A N/A ignored N/A N/A N/A N/A N/A self flushLoggedErrors MissingRenderMethod N/A N/A d N/A N/A self assertFailure N/A N/A self _render element FlattenerError N/A N/A N/A d addCallback cb N/A d N/A test_simpleStanRendering N/A N/A self N/A N/A N/A 
        Test that a Element with a simple, static stan document factory
        renders correctly.
         N/A f N/A Element docFactory N/A stan N/A p N/A Hello, world. N/A N/A N/A N/A N/A self _render f addCallback N/A self assertEquals <p>Hello, world.</p> N/A test_docFactoryClassAttribute N/A N/A self N/A N/A N/A 
        Test that if there is a non-None docFactory attribute on the class
        of an Element instance but none on the instance itself, the class
        attribute is used.
         SubElement N/A Element N/A N/A docFactory N/A stan N/A p N/A Hello, world. N/A N/A N/A N/A N/A N/A self _render N/A SubElement addCallback N/A self assertEquals <p>Hello, world.</p> N/A test_simpleXHTMLRendering N/A N/A self N/A N/A N/A 
        Test that a Element with a simple, static xhtml document factory
        renders correctly.
         N/A f N/A Element docFactory N/A xmlstr <p>Hello, world.</p> N/A N/A N/A N/A N/A self _render f addCallback N/A self assertEquals <p>Hello, world.</p> N/A test_stanDirectiveRendering N/A N/A self N/A N/A N/A 
        Test that a Element with a valid render directive has that directive
        invoked and the result added to the output.
         N/A renders N/A RenderfulElement N/A Element N/A renderMethod N/A N/A self request tag N/A N/A N/A N/A N/A renders append N/A self request N/A N/A tag N/A Hello, world. N/A N/A N/A renderer renderMethod N/A N/A request N/A object N/A element N/A RenderfulElement docFactory N/A stan N/A p render N/A directive renderMethod N/A finished N/A N/A self _render element request cbFinished N/A N/A result N/A N/A N/A N/A N/A self assertEqual result <p>Hello, world.</p> N/A N/A N/A self assertEqual renders N/A N/A element request N/A N/A N/A N/A finished addCallback cbFinished N/A finished N/A test_stanDirectiveRenderingOmittingTag N/A N/A self N/A N/A N/A 
        Test that a Element with a render method which omits the containing
        tag successfully removes that tag from the output.
         RenderfulElement N/A Element N/A renderMethod N/A N/A self request tag N/A N/A N/A Hello, world. N/A N/A N/A renderer renderMethod N/A N/A f N/A RenderfulElement docFactory N/A stan N/A N/A p render N/A directive renderMethod N/A Goodbye, world. N/A N/A N/A N/A N/A self _render f addCallback N/A self assertEquals Hello, world. N/A test_elementContainingStaticElement N/A N/A self N/A N/A N/A 
        Test that a Element which is returned by the render method of another
        Element is rendered properly.
         RenderfulElement N/A Element N/A renderMethod N/A N/A self request tag N/A N/A N/A N/A tag N/A N/A Element docFactory N/A stan Hello, world. N/A N/A N/A renderer renderMethod N/A N/A f N/A RenderfulElement docFactory N/A stan N/A p render N/A directive renderMethod N/A N/A N/A N/A N/A self _render f addCallback N/A self assertEquals <p>Hello, world.</p> N/A test_elementContainingDynamicElement N/A N/A self N/A N/A N/A 
        Test that directives in the document factory of a Element returned from a
        render method of another Element are satisfied from the correct object:
        the "inner" Element.
         OuterElement N/A Element N/A outerMethod N/A N/A self request tag N/A N/A N/A N/A tag N/A N/A InnerElement docFactory N/A stan N/A directive innerMethod N/A N/A N/A renderer outerMethod N/A InnerElement N/A Element N/A innerMethod N/A N/A self request tag N/A N/A N/A Hello, world. N/A N/A N/A renderer innerMethod N/A N/A f N/A OuterElement docFactory N/A stan N/A p render N/A directive outerMethod N/A N/A N/A N/A N/A self _render f addCallback N/A self assertEquals <p>Hello, world.</p> N/A test_synchronousFlatten N/A N/A self N/A N/A N/A 
        Flattening a L{Element} with no Deferreds using the old synchronous
        flattener API returns a value synchronously.
         N/A element N/A Element N/A N/A element docFactory N/A stan N/A hello, world N/A N/A N/A self assertEqual N/A synchronousFlatten element hello, world N/A test_synchronousFlattenError N/A N/A self N/A N/A N/A 
        If the old flattener encounters an exception while flattening an
        L{IRenderable}, the exception is raised to the caller of the flattener
        API.
         N/A element N/A Element N/A N/A element docFactory N/A stan N/A invisible render N/A directive foo N/A N/A N/A self assertRaises FlattenerError synchronousFlatten element N/A test_flattenable N/A N/A self N/A N/A N/A 
        Flattening L{Element} instances with the new flatten function results in
        the flattened version of whatever their C{render} method returns.
         N/A element N/A Element N/A N/A element docFactory N/A stan N/A Hello, world N/A result N/A N/A finished N/A newFlatten N/A FakeRequest element False False N/A result append N/A N/A N/A finished addCallback N/A N/A N/A ignored N/A N/A N/A join result N/A N/A N/A finished addCallback N/A self assertEqual Hello, world N/A finished N/A test_oldFlattenable N/A N/A self N/A N/A N/A 
        Flattening L{Element} instances with the old flatten function results in
        the flattened version of whatever their C{render} method returns.
         N/A result N/A N/A element N/A Element N/A N/A element docFactory N/A stan N/A "&<> N/A request N/A FakeRequest N/A context N/A WovenContext N/A N/A N/A context remember request N/A finished N/A oldFlatten element context N/A result append N/A N/A N/A ign N/A ign N/A N/A N/A finished addCallback N/A N/A N/A ign N/A N/A N/A join result N/A N/A N/A finished addCallback N/A self assertEqual "&amp;&lt;&gt; N/A finished N/A test_oldFlattenableInAttribute N/A N/A self N/A N/A N/A 
        Flattening a L{Element} as the value of an attribute of a L{Tag} XML
        attribute escapes the element's flattened document.
         N/A result N/A N/A element N/A Element N/A N/A element docFactory N/A stan N/A "&<> N/A request N/A FakeRequest N/A context N/A WovenContext N/A N/A N/A context remember request N/A finished N/A oldFlatten N/A p foo element context N/A result append N/A N/A N/A ign N/A ign N/A N/A N/A finished addCallback N/A N/A N/A ign N/A N/A N/A join result N/A N/A N/A finished addCallback N/A self assertEqual <p foo="&quot;&amp;&lt;&gt;"></p> N/A finished N/A test_oldFlattenableOverriddenRend N/A N/A self N/A N/A N/A 
        Flattening L{Element} instances with an overridden C{rend} method
        flattened with the old flatten function results in the flattened
        version of whatever their C{rend} method returns.
         N/A renders N/A OldStyleElement N/A Element N/A N/A docFactory N/A stan Hello, world rend N/A N/A self ctx data N/A N/A N/A N/A N/A invisible render N/A directive foo N/A N/A N/A Element rend self ctx data N/A foo N/A N/A self request tag N/A N/A N/A N/A N/A renders append N/A self request N/A N/A p N/A tag N/A N/A N/A renderer foo N/A N/A result N/A N/A element N/A OldStyleElement N/A request N/A FakeRequest N/A context N/A WovenContext N/A N/A N/A context remember request N/A finished N/A oldFlatten element context N/A result append N/A N/A N/A ign N/A ign cbFinished N/A N/A ignored N/A N/A N/A N/A N/A self assertEqual N/A N/A join result <p>Hello, world</p> N/A N/A N/A self assertEqual renders N/A N/A element request N/A N/A N/A N/A finished addCallback cbFinished N/A finished N/A test_oldFlattenableError N/A N/A self N/A N/A N/A 
        If the old flattener encounters an asynchronous Failure while
        flattening an L{IRenderable}, the returned L{Deferred} fires with the
        failure.
         N/A result N/A Deferred N/A element N/A Element N/A N/A element docFactory N/A stan result N/A request N/A FakeRequest N/A context N/A WovenContext N/A N/A N/A context remember request N/A accumulator N/A N/A finished N/A oldFlatten element context N/A accumulator append N/A N/A N/A ign N/A ign N/A N/A N/A result addErrback N/A N/A N/A err N/A N/A N/A err trap RuntimeError N/A finished N/A N/A self assertFailure finished RuntimeError N/A N/A N/A result errback N/A RuntimeError test error N/A finished N/A N/A