summaryrefslogtreecommitdiff
path: root/tests/pkgs/includeapp1/root.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkgs/includeapp1/root.py')
-rw-r--r--tests/pkgs/includeapp1/root.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/pkgs/includeapp1/root.py b/tests/pkgs/includeapp1/root.py
new file mode 100644
index 000000000..986356d81
--- /dev/null
+++ b/tests/pkgs/includeapp1/root.py
@@ -0,0 +1,10 @@
+from pyramid.response import Response
+
+def aview(request):
+ return Response('root')
+
+def configure(config):
+ config.add_view(aview)
+ config.include('tests.pkgs.includeapp1.two.configure')
+ config.commit()
+