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.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/pkgs/exceptionviewapp/models.py b/tests/pkgs/exceptionviewapp/models.py
new file mode 100644
index 000000000..fe407badc
--- /dev/null
+++ b/tests/pkgs/exceptionviewapp/models.py
@@ -0,0 +1,18 @@
+
+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()