diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-03-26 11:14:11 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-03-26 11:14:11 -0500 |
commit | d693f6bd867871ba084f0da0ff8ba5a667174fc7 (patch) | |
tree | 5c892815706d250e02ee1b8986671fb01d836d94 /mediagoblin/tests/test_mgoblin_app.ini | |
parent | 7ccf41818581743c2e16935cd7308ad3d6694149 (diff) | |
download | mediagoblin-d693f6bd867871ba084f0da0ff8ba5a667174fc7.tar.lz mediagoblin-d693f6bd867871ba084f0da0ff8ba5a667174fc7.tar.xz mediagoblin-d693f6bd867871ba084f0da0ff8ba5a667174fc7.zip |
SQL based tests and refactored Celery setup stuff
- Changed config files of test configs to use SQL
- Updated celery initialization tools, factored them to be able to
use the "big instance" application stuff
Diffstat (limited to 'mediagoblin/tests/test_mgoblin_app.ini')
-rw-r--r-- | mediagoblin/tests/test_mgoblin_app.ini | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mediagoblin/tests/test_mgoblin_app.ini b/mediagoblin/tests/test_mgoblin_app.ini index 01bf0972..fd610ecc 100644 --- a/mediagoblin/tests/test_mgoblin_app.ini +++ b/mediagoblin/tests/test_mgoblin_app.ini @@ -2,7 +2,9 @@ direct_remote_path = /test_static/ email_sender_address = "notice@mediagoblin.example.org" email_debug_mode = true -db_name = __mediagoblin_tests__ + +# Use an in-memory database +sql_engine = "sqlite:///%(here)s/test_user_dev/mediagoblin.db" # tag parsing tags_max_length = 50 @@ -27,3 +29,5 @@ lock_dir = %(here)s/test_user_dev/beaker/cache/lock [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" |