summaryrefslogtreecommitdiff
path: root/tests/pkgs/exceptionviewapp
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2020-01-03 23:14:53 -0600
committerMichael Merickel <michael@merickel.org>2020-01-03 23:14:53 -0600
commit828e069de5d0c98e6d54cfdbf20b1a8acd1f6b39 (patch)
treebe692270de956199b4cfb1eda8a9fc24ceb8374e /tests/pkgs/exceptionviewapp
parent7820b922cc1b87147cc60288dff0bbdfd7b5bc8a (diff)
parent148cf5138638ce6b1b92b4e13fe1444df9451e34 (diff)
downloadpyramid-828e069de5d0c98e6d54cfdbf20b1a8acd1f6b39.tar.gz
pyramid-828e069de5d0c98e6d54cfdbf20b1a8acd1f6b39.tar.bz2
pyramid-828e069de5d0c98e6d54cfdbf20b1a8acd1f6b39.zip
Merge branch 'master' into security-docs
Diffstat (limited to 'tests/pkgs/exceptionviewapp')
-rw-r--r--tests/pkgs/exceptionviewapp/views.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/pkgs/exceptionviewapp/views.py b/tests/pkgs/exceptionviewapp/views.py
index ca2c4fffb..7985d0b94 100644
--- a/tests/pkgs/exceptionviewapp/views.py
+++ b/tests/pkgs/exceptionviewapp/views.py
@@ -1,7 +1,9 @@
from webob import Response
-from .models import AnException
+
from pyramid.httpexceptions import HTTPBadRequest
+from .models import AnException
+
def no(request):
return Response('no')