def METHOD_NAME(
    internal_employee_client, assignee_level, status_code
):
    task = TaskFactory.create()
    user = internal_employee_client.user
    if assignee_level == "customer":
        CustomerAssigneeFactory(
            user=user, customer=task.project.customer, is_manager=True
        )
    elif assignee_level == "project":
        ProjectAssigneeFactory(user=user, project=task.project, is_manager=True)
    elif assignee_level == "task":
        TaskAssigneeFactory(user=user, task=task, is_manager=True)
    data = {
        "data": {
            "type": "projects",
            "id": task.project.id,
            "attributes": {
                "remaining_effort_tracking": True,
            },
        }
    }
    url = reverse("project-detail", args=[task.project.id])
    response = internal_employee_client.patch(url, data)
    assert response.status_code == status_code