def test_render(self):
        rendered = []
        request = DummyRequest([])
        request.render = rendered.append

        result = resource.Resource()
        deferredResource = util.DeferredResource(defer.succeed(result))
        deferredResource.render(request)
        self.assertEquals(rendered, [result])
L{DeferredResource} uses the request object's C{render} method to
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_web.py/DeferredResourceTests.test_render