diff --git a/celeryconfig.py b/celeryconfig.py
index <HASH>..<HASH> 100644
--- a/celeryconfig.py
+++ b/celeryconfig.py
@@ -89,3 +89,8 @@ CELERY_IMPORTS = get_core_modules(engine) + [
     ]
 
 os.environ["DJANGO_SETTINGS_MODULE"] = "openquake.engine.settings"
+
+try:
+    from openquake.engine.utils import tasks
+except ImportError:  # circular import with celery 2, only affecting nose
+    pass
Fixed a bug affecting celery 2 only when nose is used to run the tests


Former-commit-id: <I>ce<I>fb<I>b<I>be3f3df<I>d<I>ac1e5