fixed some typos and enabled media_type plugins in tests
[mediagoblin.git] / mediagoblin / tests / test_mgoblin_app.ini
index f979e810714d63ad97beeda1829474e3038ce66d..ecd6c9d2c830f8d23484cfe5c4db2961db1fe14c 100644 (file)
@@ -2,26 +2,33 @@
 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/user_dev/mediagoblin.db"
 
 # tag parsing
-tags_delimiter = ","
 tags_max_length = 50
 
-# Celery shouldn't be set up by the application as it's setup via
-# mediagoblin.init.celery.from_celery
-celery_setup_elsewhere = true
+# So we can start to test attachments:
+allow_attachments = True
 
 [storage:publicstore]
-base_dir = %(here)s/test_user_dev/media/public
+base_dir = %(here)s/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
+base_dir = %(here)s/user_dev/media/queue
 
 [celery]
-celery_always_eager = true
+CELERY_ALWAYS_EAGER = true
+CELERY_RESULT_DBURI = "sqlite:///%(here)s/user_dev/celery.db"
+BROKER_HOST = "sqlite:///%(here)s/user_dev/kombu.db"
+
+[plugins]
+[[mediagoblin.plugins.api]]
+[[mediagoblin.plugins.oauth]]
+[[mediagoblin.plugins.httpapiauth]]
+[[mediagoblin.plugins.piwigo]]
+[[mediagoblin.plugins.basic_auth]]
+[[mediagoblin.media_types.image]]
+[[mediagoblin.media_types.pdf]]