diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-09-14 14:00:49 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-09-14 14:00:49 +0000 |
| commit | d3e48e1afc209b7a73e73be76d8033c4ea9035cc (patch) | |
| tree | b425afeb437a9f80e2999c4300fc79b8e4e4bbf5 /repoze/bfg/tests/test_view.py | |
| parent | 66051faf16c3a19f66d949296387da297de9423b (diff) | |
| download | pyramid-d3e48e1afc209b7a73e73be76d8033c4ea9035cc.tar.gz pyramid-d3e48e1afc209b7a73e73be76d8033c4ea9035cc.tar.bz2 pyramid-d3e48e1afc209b7a73e73be76d8033c4ea9035cc.zip | |
- 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).
Diffstat (limited to 'repoze/bfg/tests/test_view.py')
| -rw-r--r-- | repoze/bfg/tests/test_view.py | 2 |
1 files changed, 1 insertions, 1 deletions
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' |
