def test_stanDirectiveRenderingOmittingTag(self):
        class RenderfulElement(Element):
            def renderMethod(self, request, tag):
                return "Hello, world."
            renderer(renderMethod)
        f = RenderfulElement(
            docFactory=stan(p(render=directive('renderMethod'))[
                    "Goodbye, world."]))
        return self._render(f).addCallback(
            self.assertEquals, "Hello, world.")
Removes all components from the container. This should probably
dataset/ETHPy150Open twisted/nevow/nevow/test/test_element.py/FlattenIntegrationTests.test_stanDirectiveRenderingOmittingTag--crossover with--dataset/ETHPy150Open rwl/muntjac/muntjac/ui/abstract_component_container.py/AbstractComponentContainer.removeAllComponents