diff --git a/pyramid_celery/__init__.py b/pyramid_celery/__init__.py index fa4f5fa..67f1c7d 100644 --- a/pyramid_celery/__init__.py +++ b/pyramid_celery/__init__.py @@ -1,6 +1,5 @@ from celery import Celery from celery import signals -from celery.bin import Option from optparse import make_option from pyramid.paster import bootstrap from pyramid_celery.loaders import INILoader diff --git a/tests/test_celery.py b/tests/test_celery.py index 8125526..495f4ed 100644 --- a/tests/test_celery.py +++ b/tests/test_celery.py @@ -88,6 +88,7 @@ def test_celery_imports(): 'otherapp.tasks' ] + @pytest.mark.unit def test_preload_with_ini_vars(): from pyramid_celery import on_preload_parsed