def makePage(self):
        page = athena.LivePage()
        req = FakeRequest()
        page._becomeLive(url.URL.fromRequest(req))

        def _cleanup():
            if hasattr(page, '_messageDeliverer'):
                page._messageDeliverer.close()
        self.addCleanup(_cleanup)

        return page
Make a "live" L{LivePage} for testing.
dataset/ETHPy150Open twisted/nevow/nevow/test/test_athena.py/LiveMixinTestsMixin.makePage