From: Brian Warner Date: Wed, 25 Feb 2009 01:04:59 +0000 (-0700) Subject: common_web.py: oops, add .fields to the other FakeRequest X-Git-Url: https://git.rkrishnan.org/pf/content/%22file:/frontends/configuration.rst?a=commitdiff_plain;h=6f981e4eab262a6d9051ddab10d82af9f7987287;p=tahoe-lafs%2Ftahoe-lafs.git common_web.py: oops, add .fields to the other FakeRequest --- diff --git a/src/allmydata/test/common_web.py b/src/allmydata/test/common_web.py index 8b6a6474..770e3462 100644 --- a/src/allmydata/test/common_web.py +++ b/src/allmydata/test/common_web.py @@ -46,6 +46,7 @@ class WebRenderingMixin: # Deferred, this will throw an exception. (note that # page.renderString is the Deferred-returning equivalent) req = FakeRequest(**kwargs) + req.fields = None ctx = self.make_context(req) return page.renderSynchronously(ctx)