aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-07-18 12:39:13 +0300
committerBerker Peksag <berker.peksag@gmail.com>2014-07-18 12:39:13 +0300
commit88a5739d36f5623229f359d0453988d1806e3a77 (patch)
treefc015b032962cae021c23193d8ad8c2289027bf6 /mediagoblin/tests
parentc9cbc7e8a7bca8cedb02bbcfaf17c4c17176821b (diff)
downloadmediagoblin-88a5739d36f5623229f359d0453988d1806e3a77.tar.lz
mediagoblin-88a5739d36f5623229f359d0453988d1806e3a77.tar.xz
mediagoblin-88a5739d36f5623229f359d0453988d1806e3a77.zip
Remove paste.server dependency from tests.
Diffstat (limited to 'mediagoblin/tests')
-rw-r--r--mediagoblin/tests/test_paste.ini34
1 files changed, 6 insertions, 28 deletions
diff --git a/mediagoblin/tests/test_paste.ini b/mediagoblin/tests/test_paste.ini
index a9595432..8d75c3cb 100644
--- a/mediagoblin/tests/test_paste.ini
+++ b/mediagoblin/tests/test_paste.ini
@@ -1,40 +1,18 @@
[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]
+[app:main]
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
+/mgoblin_media = %(here)s/user_dev/media/public
+/test_static = %(here)s/mediagoblin/static
+/theme_static = %(here)s/user_dev/theme_static
+/plugin_static = %(here)s/user_dev/plugin_static
[celery]
CELERY_ALWAYS_EAGER = true
[server:main]
-use = egg:Paste#http
+use = egg:gunicorn
host = 127.0.0.1
port = 6543