Merge remote-tracking branch 'remotes/bretts/bug261-resized-filenames'
[mediagoblin.git] / mediagoblin / tests / test_mgoblin_app.ini
index 94eafb5a1ca96863290a07cfba2b59a9dd39c9a8..01bf097231556f133668602b4c1c2991537a67a3 100644 (file)
@@ -1,12 +1,29 @@
 [mediagoblin]
-queuestore_base_dir = %(here)s/test_user_dev/media/queue
-publicstore_base_dir = %(here)s/test_user_dev/media/public
-publicstore_base_url = /mgoblin_media/
-direct_remote_path = /mgoblin_static/
+direct_remote_path = /test_static/
 email_sender_address = "notice@mediagoblin.example.org"
 email_debug_mode = true
 db_name = __mediagoblin_tests__
 
-# Celery shouldn't be set up by the paste app factory as it's set up
-# elsewhere
+# tag parsing
+tags_max_length = 50
+
+# So we can start to test attachments:
+allow_attachments = True
+
+# Celery shouldn't be set up by the application as it's setup via
+# mediagoblin.init.celery.from_celery
 celery_setup_elsewhere = true
+
+[storage:publicstore]
+base_dir = %(here)s/test_user_dev/media/public
+base_url = /mgoblin_media/
+
+[storage:queuestore]
+base_dir = %(here)s/test_user_dev/media/queue
+
+[beaker.cache]
+data_dir = %(here)s/test_user_dev/beaker/cache/data
+lock_dir = %(here)s/test_user_dev/beaker/cache/lock
+
+[celery]
+CELERY_ALWAYS_EAGER = true