diff options
Diffstat (limited to 'tests/pkgs/exceptionviewapp/models.py')
| -rw-r--r-- | tests/pkgs/exceptionviewapp/models.py | 6 |
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() |
