projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
376eab0
)
common_web.py: oops, add .fields to the other FakeRequest
author
Brian Warner
<warner@allmydata.com>
Wed, 25 Feb 2009 01:04:59 +0000
(18:04 -0700)
committer
Brian Warner
<warner@allmydata.com>
Wed, 25 Feb 2009 01:04:59 +0000
(18:04 -0700)
src/allmydata/test/common_web.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/common_web.py
b/src/allmydata/test/common_web.py
index 8b6a6474c7edadf76e01c690a95b1816aefbec90..770e346294e03a0f63b2826e9929cecc6a1cbc31 100644
(file)
--- 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)