def test_emptyPostPath(self):
        request = FakeRequest(currentSegments=('',))
        context = RequestContext(tag=request)
        rootResource = Page()
        childResource = Page()
        site = NevowSite(rootResource)
        result = site.handleSegment(
            (childResource, ()), request, ('foo', 'bar'), context)
        self.assertEqual(request.prepath, [''])
        self.assertEqual(request.postpath, [])
If more path segments are consumed than remain in the request's
dataset/ETHPy150Open twisted/nevow/nevow/test/test_appserver.py/HandleSegment.test_emptyPostPath