def test_elementPreprocessors(self):
        preprocessed = []

        tag = tags.span
        element = athena.LiveElement(docFactory=loaders.stan(tag))
        page = athena.LivePage(docFactory=loaders.stan(element))
        element.preprocessors = [preprocessed.append]
        element.setFragmentParent(page)
        renderDeferred = renderPage(page)
        def rendered(result):
            page.action_close(None)
            self.assertEquals(preprocessed, [[tag]])
        renderDeferred.addCallback(rendered)
        return renderDeferred
Make sure that LiveElements have their preprocessors applied to their
dataset/ETHPy150Open twisted/nevow/nevow/test/test_athena.py/UtilitiesTests.test_elementPreprocessors