summaryrefslogtreecommitdiff
path: root/pyramid/tests/includeapp1/three.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyramid/tests/includeapp1/three.py')
-rw-r--r--pyramid/tests/includeapp1/three.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/pyramid/tests/includeapp1/three.py b/pyramid/tests/includeapp1/three.py
new file mode 100644
index 000000000..de7268bb6
--- /dev/null
+++ b/pyramid/tests/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('pyramid.tests.includeapp1.two.configure') # should not cycle
+ config.add_view(aview) # will be overridden by root when resolved
+