aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_paste.ini
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/tests/test_paste.ini')
-rw-r--r--mediagoblin/tests/test_paste.ini40
1 files changed, 40 insertions, 0 deletions
diff --git a/mediagoblin/tests/test_paste.ini b/mediagoblin/tests/test_paste.ini
new file mode 100644
index 00000000..a9595432
--- /dev/null
+++ b/mediagoblin/tests/test_paste.ini
@@ -0,0 +1,40 @@
+[DEFAULT]
+debug = true
+
+[composite:main]
+use = egg:Paste#urlmap
+/ = mediagoblin
+/mgoblin_media/ = publicstore_serve
+/test_static/ = mediagoblin_static
+/theme_static/ = theme_static
+/plugin_static/ = plugin_static
+
+[app:mediagoblin]
+use = egg:mediagoblin#app
+config = %(here)s/mediagoblin.ini
+
+[app:publicstore_serve]
+use = egg:Paste#static
+document_root = %(here)s/user_dev/media/public
+
+[app:mediagoblin_static]
+use = egg:Paste#static
+document_root = %(here)s/mediagoblin/static/
+
+[app:theme_static]
+use = egg:Paste#static
+document_root = %(here)s/user_dev/theme_static/
+cache_max_age = 86400
+
+[app:plugin_static]
+use = egg:Paste#static
+document_root = %(here)s/user_dev/plugin_static/
+cache_max_age = 86400
+
+[celery]
+CELERY_ALWAYS_EAGER = true
+
+[server:main]
+use = egg:Paste#http
+host = 127.0.0.1
+port = 6543