def METHOD_NAME(login_role_user, settings, import_1, import_2):
    """
    This test checks whether the xliff import works as expected
    :param login_role_user: The fixture providing the http client and the current role (see :meth:`~tests.conftest.login_role_user`)
    :type login_role_user: tuple
    :param settings: The fixture providing the django settings
    :type settings: :fixture:`settings`
    :param import_1: A dict of import information
    :type import_1: dict
    :param import_2: A list of import information
    :type import_2: dict
    """
    # Test for english messages
    settings.LANGUAGE_CODE = "en"
    client, role = login_role_user
    upload_xliff = reverse(
        "upload_xliff", kwargs={"region_slug": "augsburg", "language_slug": "en"}
    )
    response = upload_files(client, upload_xliff, import_1["file"], import_2["file"])
    # Check which role uploaded the files
    if role in PRIV_STAFF_ROLES + [MANAGEMENT, EDITOR, AUTHOR]:
        validate_xliff_import_response(
            client,
            response,
            import_1,
            import_2,
        )
    elif role == ANONYMOUS:
        # For anonymous users, we want to redirect to the login form instead of showing an error
        assert response.status_code == 302
        assert (
            response.headers.get("location")
            == f"{settings.LOGIN_URL}?next={upload_xliff}"
        )
    else:
        # For logged in users, we want to show an error if they get a permission denied
        assert response.status_code == 403