add pdf media type
[mediagoblin.git] / mediagoblin / tests / test_mgoblin_app.ini
index 9d938b4f41d777dc9d452400fbab174452f66570..9f95a398f17b58f0ce3b78e2b24ca72b25546f86 100644 (file)
@@ -1,17 +1,23 @@
 [mediagoblin]
-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__
+
+# TODO: Switch to using an in-memory database
+sql_engine = "sqlite:///%(here)s/test_user_dev/mediagoblin.db"
 
 # tag parsing
-tags_delimiter = ","
 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
 
+media_types = mediagoblin.media_types.image, mediagoblin.media_types.pdf
+
 [storage:publicstore]
 base_dir = %(here)s/test_user_dev/media/public
 base_url = /mgoblin_media/
@@ -20,4 +26,12 @@ base_url = /mgoblin_media/
 base_dir = %(here)s/test_user_dev/media/queue
 
 [celery]
-celery_always_eager = true
+CELERY_ALWAYS_EAGER = true
+CELERY_RESULT_DBURI = "sqlite:///%(here)s/test_user_dev/celery.db"
+BROKER_HOST = "sqlite:///%(here)s/test_user_dev/kombu.db"
+
+[plugins]
+[[mediagoblin.plugins.api]]
+[[mediagoblin.plugins.oauth]]
+[[mediagoblin.plugins.httpapiauth]]
+