summaryrefslogtreecommitdiff
path: root/pyramid/tests/test_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyramid/tests/test_config.py')
-rw-r--r--pyramid/tests/test_config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyramid/tests/test_config.py b/pyramid/tests/test_config.py
index 0b178d22e..255dd4b6e 100644
--- a/pyramid/tests/test_config.py
+++ b/pyramid/tests/test_config.py
@@ -3981,7 +3981,8 @@ class TestViewDeriver(unittest.TestCase):
def outer_view(context, request):
self.assertEqual(request.wrapped_response, inner_response)
self.assertEqual(request.wrapped_body, inner_response.body)
- self.assertEqual(request.wrapped_view, inner_view)
+ self.assertEqual(request.wrapped_view.__original_view__,
+ inner_view)
return Response('outer ' + request.wrapped_body)
self.config.registry.registerAdapter(
outer_view, (IViewClassifier, None, None), IView, 'owrap')