From 6f981e4eab262a6d9051ddab10d82af9f7987287 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 24 Feb 2009 18:04:59 -0700 Subject: [PATCH] common_web.py: oops, add .fields to the other FakeRequest --- 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 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) -- 2.45.2