
Some tests were added for running audio and video submission tests in test_submission.py. Unfortunately these were not skipped if these dependencies were not installed. This patch attempts to fix that while leaving the tests intact.
43 lines
1.0 KiB
INI
43 lines
1.0 KiB
INI
[mediagoblin]
|
|
direct_remote_path = /test_static/
|
|
email_sender_address = "notice@mediagoblin.example.org"
|
|
email_debug_mode = true
|
|
|
|
#Runs with an in-memory sqlite db for speed.
|
|
sql_engine = "sqlite://"
|
|
run_migrations = true
|
|
|
|
# tag parsing
|
|
tags_max_length = 50
|
|
|
|
# So we can start to test attachments:
|
|
allow_attachments = True
|
|
|
|
upload_limit = 500
|
|
|
|
max_file_size = 2
|
|
|
|
[storage:publicstore]
|
|
base_dir = %(here)s/user_dev/media/public
|
|
base_url = /mgoblin_media/
|
|
|
|
[storage:queuestore]
|
|
base_dir = %(here)s/user_dev/media/queue
|
|
|
|
[celery]
|
|
CELERY_ALWAYS_EAGER = true
|
|
CELERY_RESULT_DBURI = "sqlite:///%(here)s/user_dev/celery.db"
|
|
BROKER_URL = "sqlite:///%(here)s/test_user_dev/kombu.db"
|
|
|
|
[plugins]
|
|
[[mediagoblin.plugins.api]]
|
|
[[mediagoblin.plugins.httpapiauth]]
|
|
[[mediagoblin.plugins.piwigo]]
|
|
[[mediagoblin.plugins.basic_auth]]
|
|
[[mediagoblin.plugins.openid]]
|
|
[[mediagoblin.media_types.image]]
|
|
## These ones enabled by specific applications
|
|
# [[mediagoblin.media_types.video]]
|
|
# [[mediagoblin.media_types.audio]]
|
|
# [[mediagoblin.media_types.pdf]]
|