def test_overriddenRend(self):
        contexts = []
        class OldStyleElement(Element):
            docFactory = stan("Hello, world!")
            def rend(self, ctx, data):
                contexts.append(ctx)
                return Element.rend(self, ctx, data)
        request = FakeRequest()
        element = OldStyleElement()
        self.assertEqual(element.render(request), ["Hello, world!"])
        [ctx] = contexts
        self.assertTrue(isinstance(ctx, WovenContext))
        self.assertIdentical(IRequest(ctx), request)
Parses the /etc/redhat-release file.
dataset/ETHPy150Open twisted/nevow/nevow/test/test_element.py/ElementTests.test_overriddenRend--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/compute-image-packages/legacy/gcimagebundle/gcimagebundlelib/fedora.py/Fedora.ParseRedhatRelease