
The test_user_dev (as opposed to user_dev) was a legacy before we had each application running in its own directory (as they now do in pytest). Move that name to just user_dev... this is more consistent with the rest of our naming and will make writing these config files easier. (If we want to test that changing these still works, that should be a separate unit test with special config files.) Additionally, add plugin static serving to the common test paste config file. This commit sponsored by Juan Jose Marin Martinez. Thank you!
34 lines
852 B
INI
34 lines
852 B
INI
[mediagoblin]
|
|
direct_remote_path = /test_static/
|
|
email_sender_address = "notice@mediagoblin.example.org"
|
|
email_debug_mode = true
|
|
|
|
# TODO: Switch to using an in-memory database
|
|
sql_engine = "sqlite:///%(here)s/user_dev/mediagoblin.db"
|
|
|
|
# tag parsing
|
|
tags_max_length = 50
|
|
|
|
# So we can start to test attachments:
|
|
allow_attachments = True
|
|
|
|
media_types = mediagoblin.media_types.image, mediagoblin.media_types.pdf
|
|
|
|
[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_HOST = "sqlite:///%(here)s/user_dev/kombu.db"
|
|
|
|
[plugins]
|
|
[[mediagoblin.plugins.api]]
|
|
[[mediagoblin.plugins.oauth]]
|
|
[[mediagoblin.plugins.httpapiauth]]
|
|
[[mediagoblin.plugins.piwigo]]
|