def METHOD_NAME(tmpdir):
    image = Image(
        yaml.safe_load(
            """
    from: foo
    name: test/foo
    version: 1.9
    labels:
      - name: 'the.large.label'
        value: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec pretium finibus lorem vitae pellentesque. Maecenas tincidunt amet.
    """
        ),
        "foo",
    )
    with docker_generator(tmpdir) as generator:
        generator.image = image
        with cekit_config(redhat=True):
            generator.add_build_labels()
            assert (
                image.labels[0].value
                == "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec pretium finibus lorem vitae pellentesque. Maecenas tincidunt amet\\\n.\\\n"
            )