def METHOD_NAME(salt_call_cli, append_grain):
    """
    Tests the return of a grains.append call when val is passed in as a list.
    """
    second_grain = append_grain.value + "-2"
    ret = salt_call_cli.run(
        "grains.append", append_grain.key, val=[append_grain.value, second_grain]
    )
    assert ret.returncode == 0
    assert ret.data
    assert ret.data == {append_grain.key: [append_grain.value, second_grain]}