@pytest.fixture(scope=u'session')
def celery_worker_pool():
 return u'solo'

@ pytest . fixture ( scope = u'session' ) def celery_worker_pool ( ) : return u'solo'
you can override this fixture to set the worker pool .