summaryrefslogtreecommitdiff
path: root/tests/pkgs/includeapp1/three.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkgs/includeapp1/three.py')
-rw-r--r--tests/pkgs/includeapp1/three.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/pkgs/includeapp1/three.py b/tests/pkgs/includeapp1/three.py
new file mode 100644
index 000000000..973f91d99
--- /dev/null
+++ b/tests/pkgs/includeapp1/three.py
@@ -0,0 +1,10 @@
+from pyramid.response import Response
+
+def aview(request):
+ return Response('three')
+
+def configure(config):
+ config.add_view(aview, name='three')
+ config.include('tests.pkgs.includeapp1.two.configure') # should not cycle
+ config.add_view(aview) # will be overridden by root when resolved
+