
attachments are an optional part. But it doesn't hurt to enable them in the test suite at all. Also (with enabled attachmemtns) the main media view fails, if one isn't logged in (joar found it!). So add a simple (currently failing) test for this.
30 lines
719 B
INI
30 lines
719 B
INI
[mediagoblin]
|
|
direct_remote_path = /test_static/
|
|
email_sender_address = "notice@mediagoblin.example.org"
|
|
email_debug_mode = true
|
|
db_name = __mediagoblin_tests__
|
|
|
|
# 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
|