add pdf media type
[mediagoblin.git] / mediagoblin / tests / test_mgoblin_app.ini
1 [mediagoblin]
2 direct_remote_path = /test_static/
3 email_sender_address = "notice@mediagoblin.example.org"
4 email_debug_mode = true
5
6 # TODO: Switch to using an in-memory database
7 sql_engine = "sqlite:///%(here)s/test_user_dev/mediagoblin.db"
8
9 # tag parsing
10 tags_max_length = 50
11
12 # So we can start to test attachments:
13 allow_attachments = True
14
15 # Celery shouldn't be set up by the application as it's setup via
16 # mediagoblin.init.celery.from_celery
17 celery_setup_elsewhere = true
18
19 media_types = mediagoblin.media_types.image, mediagoblin.media_types.pdf
20
21 [storage:publicstore]
22 base_dir = %(here)s/test_user_dev/media/public
23 base_url = /mgoblin_media/
24
25 [storage:queuestore]
26 base_dir = %(here)s/test_user_dev/media/queue
27
28 [celery]
29 CELERY_ALWAYS_EAGER = true
30 CELERY_RESULT_DBURI = "sqlite:///%(here)s/test_user_dev/celery.db"
31 BROKER_HOST = "sqlite:///%(here)s/test_user_dev/kombu.db"
32
33 [plugins]
34 [[mediagoblin.plugins.api]]
35 [[mediagoblin.plugins.oauth]]
36 [[mediagoblin.plugins.httpapiauth]]
37