From d3e48e1afc209b7a73e73be76d8033c4ea9035cc Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 14 Sep 2010 14:00:49 +0000 Subject: - If an exception view was registered through the legacy ``set_notfound_view`` or ``set_forbidden_view`` APIs, the context sent to the view was incorrect (could be ``None`` inappropriately). --- repoze/bfg/tests/test_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repoze/bfg/tests') diff --git a/repoze/bfg/tests/test_view.py b/repoze/bfg/tests/test_view.py index 18a46a205..e5adc8de1 100644 --- a/repoze/bfg/tests/test_view.py +++ b/repoze/bfg/tests/test_view.py @@ -450,7 +450,7 @@ def make_view(response): return view class DummyRequest: - pass + exception = None class DummyResponse: status = '200 OK' -- cgit v1.2.3