def assertRequestRenderedWithPostPath(web_site, batons, request, post_path):
            self.getResourceForFakeRequest(web_site, request=request).render(request)
            self.assertEquals(batons, [dict(request=request)])
            request = batons.pop()['request']
            self.assertEquals(request.postpath, post_path)