summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/tests/test_config/test_views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/tests/test_config/test_views.py b/pyramid/tests/test_config/test_views.py
index 5ae97215e..00d04de7c 100644
--- a/pyramid/tests/test_config/test_views.py
+++ b/pyramid/tests/test_config/test_views.py
@@ -3852,7 +3852,6 @@ class DummyResponse(object):
class DummyRequest:
subpath = ()
matchdict = None
- response = DummyResponse()
def __init__(self, environ=None):
if environ is None:
@@ -3860,6 +3859,7 @@ class DummyRequest:
self.environ = environ
self.params = {}
self.cookies = {}
+ self.response = DummyResponse()
class DummyContext:
pass