@pytest.fixture()
def depends_on_current_app(celery_app):
 celery_app.set_current()

@ pytest . fixture ( ) def depends_on_current_app ( celery_app ) : celery_app . set_current ( )
fixture that sets app as current .