From 2dc0b5f7e57721b9a9d56b6dfdc07cbb3e929ac8 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 15 Nov 2008 23:43:26 +0000 Subject: Add content_length attr to testing.DummyRequest. --- repoze/bfg/testing.py | 1 + 1 file changed, 1 insertion(+) (limited to 'repoze') 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: -- cgit v1.2.3