summaryrefslogtreecommitdiff
path: root/tests/pkgs/exceptionviewapp/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkgs/exceptionviewapp/models.py')
-rw-r--r--tests/pkgs/exceptionviewapp/models.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/pkgs/exceptionviewapp/models.py b/tests/pkgs/exceptionviewapp/models.py
index fe407badc..25f8e9156 100644
--- a/tests/pkgs/exceptionviewapp/models.py
+++ b/tests/pkgs/exceptionviewapp/models.py
@@ -1,18 +1,22 @@
-
class NotAnException(object):
pass
+
class AnException(Exception):
pass
+
class RouteContext(object):
pass
+
class RouteContext2(object):
pass
+
def route_factory(*arg):
return RouteContext()
+
def route_factory2(*arg):
return RouteContext2()