]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
common_web.py: oops, add .fields to the other FakeRequest
authorBrian Warner <warner@allmydata.com>
Wed, 25 Feb 2009 01:04:59 +0000 (18:04 -0700)
committerBrian Warner <warner@allmydata.com>
Wed, 25 Feb 2009 01:04:59 +0000 (18:04 -0700)
src/allmydata/test/common_web.py

index 8b6a6474c7edadf76e01c690a95b1816aefbec90..770e346294e03a0f63b2826e9929cecc6a1cbc31 100644 (file)
@@ -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)