def METHOD_NAME(self, group):
    config = f"""
    projects_and_groups:
      {group.full_path}/*:
        group_badges:
          pipeline-status:
            name: "Group Badge"
            link_url: "https://gitlab.example.com/first"
            image_url: "https://gitlab.example.com/first"
          another:
            name: "Group Badge 2"
            link_url: "https://gitlab.example.com/second"
            image_url: "https://gitlab.example.com/second" 
    """
    run_gitlabform(config, group)
    badges = group.badges.list()
    assert len(badges) == 2
    config = f"""
    projects_and_groups:
      {group.full_path}/*:
        group_badges:
          a_different_key:
            name: "Group Badge 2"
            link_url: "https://gitlab.example.com/foobar"
            image_url: "https://gitlab.example.com/foobar"
          and_also_different_than_before:
            name: "Group Badge"
            delete: true
    """
    run_gitlabform(config, group)
    badges = group.badges.list()
    assert len(badges) == 1
    for badge in badges:
        if badge.name == "Group Badge 2":
            assert badge.link_url.endswith("foobar")
            assert badge.image_url.endswith("foobar")
        else:
            assert not badge.link_url.endswith("foobar")
            assert not badge.image_url.endswith("foobar")