@pytest.fixture(scope=u'session')
def use_celery_app_trap():
 return False

@ pytest . fixture ( scope = u'session' ) def use_celery_app_trap ( ) : return False
you can override this fixture to enable the app trap .