# Path: gitmostwanted/web.py



from unittest import mock
from gitmostwanted.web import app
import pytest




@pytest.fixture(scope='session')
def celery_parameters():
    return {'task_cls': 'lib.celery.flask_context_task:FlaskContextTask'}


def test_use_flask_context(celery_app, celery_worker):
    context = mock.MagicMock()


# Path: gitmostwanted/web.py



# Path: tests/unit/services/test_celery.py
from unittest import mock
from gitmostwanted.web import app
import pytest





@pytest.fixture(scope='session')
def celery_parameters():
    return {'task_cls': 'lib.celery.flask_context_task:FlaskContextTask'}


def test_use_flask_context(celery_app, celery_worker):
    context = mock.MagicMock()


    app.app_context = lambda: context