From 8d8250e44a9dc0a8f052785e60ec177d4e97b83f Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 24 Feb 2009 17:20:50 -0700 Subject: [PATCH] test/common_web.py: add a .fields attribute to our FakeRequest, since we support versions of Nevow that are old enough to not do it themselves --- src/allmydata/test/common_web.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/allmydata/test/common_web.py b/src/allmydata/test/common_web.py index 9f05f9b6..8b6a6474 100644 --- a/src/allmydata/test/common_web.py +++ b/src/allmydata/test/common_web.py @@ -30,6 +30,7 @@ class WebRenderingMixin: # use this to exercise an overridden renderHTTP, usually for # output=json or render_GET. It always returns a Deferred. req = FakeRequest(**kwargs) + req.fields = None ctx = self.make_context(req) d = defer.maybeDeferred(page.renderHTTP, ctx) def _done(res): -- 2.45.2