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:
e1c925b
)
test/common_web.py: add a .fields attribute to our FakeRequest, since we support...
author
Brian Warner
<warner@allmydata.com>
Wed, 25 Feb 2009 00:20:50 +0000
(17:20 -0700)
committer
Brian Warner
<warner@allmydata.com>
Wed, 25 Feb 2009 00:20:50 +0000
(17:20 -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 9f05f9b604676e325bb69f6bcb9fa685ae1028b6..8b6a6474c7edadf76e01c690a95b1816aefbec90 100644
(file)
--- 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):