summaryrefslogtreecommitdiff
path: root/repoze
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-11-15 23:43:26 +0000
committerChris McDonough <chrism@agendaless.com>2008-11-15 23:43:26 +0000
commit2dc0b5f7e57721b9a9d56b6dfdc07cbb3e929ac8 (patch)
tree8cb74d134403bcb0345b354ca7caab6610888378 /repoze
parent6d8615e32eb41e0985f50af880cc4e3900f68ad5 (diff)
downloadpyramid-2dc0b5f7e57721b9a9d56b6dfdc07cbb3e929ac8.tar.gz
pyramid-2dc0b5f7e57721b9a9d56b6dfdc07cbb3e929ac8.tar.bz2
pyramid-2dc0b5f7e57721b9a9d56b6dfdc07cbb3e929ac8.zip
Add content_length attr to testing.DummyRequest.
Diffstat (limited to 'repoze')
-rw-r--r--repoze/bfg/testing.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/repoze/bfg/testing.py b/repoze/bfg/testing.py
index a7fc12827..cec14ea06 100644
--- a/repoze/bfg/testing.py
+++ b/repoze/bfg/testing.py
@@ -256,6 +256,7 @@ class DummyRequest:
method = 'GET'
application_url = 'http://example.com'
host = 'example.com:80'
+ content_length = 0
def __init__(self, params=None, environ=None, headers=None, path='/',
cookies=None, **kw):
if environ is None: