def METHOD_NAME():
    # ensures a `task_id` is properly returned when Protocol v1 is used.
    # `context` is an example of an emitted Signal with Protocol v1
    context = {
        "body": {
            "expires": None,
            "utc": True,
            "args": ["user"],
            "chord": None,
            "callbacks": None,
            "errbacks": None,
            "taskset": None,
            "id": "dffcaec1-dd92-4a1a-b3ab-d6512f4beeb7",
            "retries": 0,
            "task": "tests.contrib.celery.test_integration.fn_task_parameters",
            "timelimit": (None, None),
            "eta": None,
            "kwargs": {"force_logout": True},
        },
        "sender": "tests.contrib.celery.test_integration.fn_task_parameters",
        "exchange": "celery",
        "routing_key": "celery",
        "retry_policy": None,
        "headers": {},
        "properties": {},
    }
    task_id = retrieve_task_id(context)
    assert task_id == "dffcaec1-dd92-4a1a-b3ab-d6512f4beeb7"