aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_celery_setup.py
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2012-03-21 11:55:42 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2012-03-21 12:17:52 +0100
commit4114e54df51548485407cc915cd773ed6aa68171 (patch)
tree9bd2b16e953663310b4f117cf8764055d77b5391 /mediagoblin/tests/test_celery_setup.py
parenteace050a7d41333e659f049d61b7505fc5fbf627 (diff)
downloadmediagoblin-4114e54df51548485407cc915cd773ed6aa68171.tar.lz
mediagoblin-4114e54df51548485407cc915cd773ed6aa68171.tar.xz
mediagoblin-4114e54df51548485407cc915cd773ed6aa68171.zip
And fix the in-celeryd import.
So that celeryd also loads the task.
Diffstat (limited to 'mediagoblin/tests/test_celery_setup.py')
-rw-r--r--mediagoblin/tests/test_celery_setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/tests/test_celery_setup.py b/mediagoblin/tests/test_celery_setup.py
index fd600f56..5530c6f2 100644
--- a/mediagoblin/tests/test_celery_setup.py
+++ b/mediagoblin/tests/test_celery_setup.py
@@ -48,7 +48,7 @@ def test_setup_celery_from_config():
assert isinstance(fake_celery_module.CELERYD_ETA_SCHEDULER_PRECISION, float)
assert fake_celery_module.CELERY_RESULT_PERSISTENT is True
assert fake_celery_module.CELERY_IMPORTS == [
- 'foo.bar.baz', 'this.is.an.import', 'mediagoblin.processing']
+ 'foo.bar.baz', 'this.is.an.import', 'mediagoblin.processing.task']
assert fake_celery_module.CELERY_RESULT_BACKEND == 'database'
assert fake_celery_module.CELERY_RESULT_DBURI == (
'sqlite:///' +