def test_oldFlattenable(self):
        result = []
        element = Element()
        element.docFactory = stan(['"&<>'])
        request = FakeRequest()
        context = WovenContext()
        context.remember(request)
        finished = oldFlatten(element, context, result.append, lambda ign: ign)
        finished.addCallback(lambda ign: "".join(result))
        finished.addCallback(self.assertEqual, '"&amp;&lt;&gt;')
        return finished
Flattening L{Element} instances with the old flatten function results in
dataset/ETHPy150Open twisted/nevow/nevow/test/test_element.py/FlattenIntegrationTests.test_oldFlattenable