diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-05-08 14:38:13 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-05-08 14:38:13 -0500 |
commit | 829f5f9371b033a689067caffa91a03989006ce1 (patch) | |
tree | 58938b815667e9235827d0d5a262fabcea21ed37 | |
parent | 3810309443899e92d640fb0c893018ef82b786ee (diff) | |
download | mediagoblin-829f5f9371b033a689067caffa91a03989006ce1.tar.lz mediagoblin-829f5f9371b033a689067caffa91a03989006ce1.tar.xz mediagoblin-829f5f9371b033a689067caffa91a03989006ce1.zip |
Ah right, and here's the config we intend to use for these context modified tests :)
This commit sponsored by Xavier Gulliot. Thanks Xavier!
-rw-r--r-- | mediagoblin/tests/appconfig_context_modified.ini | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mediagoblin/tests/appconfig_context_modified.ini b/mediagoblin/tests/appconfig_context_modified.ini new file mode 100644 index 00000000..e93797df --- /dev/null +++ b/mediagoblin/tests/appconfig_context_modified.ini @@ -0,0 +1,26 @@ +[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/test_user_dev/mediagoblin.db" + +# 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 + +[celery] +CELERY_ALWAYS_EAGER = true +CELERY_RESULT_DBURI = "sqlite:///%(here)s/test_user_dev/celery.db" +BROKER_HOST = "sqlite:///%(here)s/test_user_dev/kombu.db" + +[plugins] +[[mediagoblin.tests.testplugins.modify_context]] |