From: vijeth-aradhya Date: Fri, 16 Jun 2017 20:28:58 +0000 (+0530) Subject: Fix test_celery_setup error X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=52814967cd2ed0c93d68ae06e11322442e651293;p=mediagoblin.git Fix test_celery_setup error Add mediagoblin.media_types.video.processing as a task module. --- diff --git a/mediagoblin/tests/test_celery_setup.py b/mediagoblin/tests/test_celery_setup.py index 0749c7f4..606e5906 100644 --- a/mediagoblin/tests/test_celery_setup.py +++ b/mediagoblin/tests/test_celery_setup.py @@ -48,8 +48,9 @@ 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.task', \ - 'mediagoblin.notifications.task', 'mediagoblin.submit.task'] + 'foo.bar.baz', 'this.is.an.import', 'mediagoblin.processing.task', + 'mediagoblin.notifications.task', 'mediagoblin.submit.task', + 'mediagoblin.media_types.video.processing'] assert fake_celery_module.CELERY_RESULT_BACKEND == 'database' assert fake_celery_module.CELERY_RESULT_DBURI == ( 'sqlite:///' +