summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/src/views/testing.ini
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2020-01-10 00:50:03 -0600
committerMichael Merickel <michael@merickel.org>2020-01-10 01:07:04 -0600
commit095eb560dc17dc591d43144758adaf2e4c780e72 (patch)
tree400867fe71d121e65e40469231616d1386d6200d /docs/tutorials/wiki/src/views/testing.ini
parent7adc44fa2b4bfa5b4230d8646e734ba262ec1ce2 (diff)
downloadpyramid-095eb560dc17dc591d43144758adaf2e4c780e72.tar.gz
pyramid-095eb560dc17dc591d43144758adaf2e4c780e72.tar.bz2
pyramid-095eb560dc17dc591d43144758adaf2e4c780e72.zip
sync wiki installation, basiclayout, models and views chapters with new cookiecutter
Diffstat (limited to 'docs/tutorials/wiki/src/views/testing.ini')
-rw-r--r--docs/tutorials/wiki/src/views/testing.ini60
1 files changed, 60 insertions, 0 deletions
diff --git a/docs/tutorials/wiki/src/views/testing.ini b/docs/tutorials/wiki/src/views/testing.ini
new file mode 100644
index 000000000..9298354ac
--- /dev/null
+++ b/docs/tutorials/wiki/src/views/testing.ini
@@ -0,0 +1,60 @@
+###
+# app configuration
+# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
+###
+
+[app:main]
+use = egg:tutorial
+
+pyramid.reload_templates = false
+pyramid.debug_authorization = false
+pyramid.debug_notfound = false
+pyramid.debug_routematch = false
+pyramid.default_locale_name = en
+
+zodbconn.uri = file://%(here)s/Data.testing.fs?connection_cache_size=20000
+
+retry.attempts = 3
+
+[pshell]
+setup = tutorial.pshell.setup
+
+###
+# wsgi server configuration
+###
+
+[server:main]
+use = egg:waitress#main
+listen = localhost:6543
+
+###
+# logging configuration
+# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
+###
+
+[loggers]
+keys = root, tutorial
+
+[handlers]
+keys = console
+
+[formatters]
+keys = generic
+
+[logger_root]
+level = INFO
+handlers = console
+
+[logger_tutorial]
+level = DEBUG
+handlers =
+qualname = tutorial
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[formatter_generic]
+format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s