def METHOD_NAME(cls):
    cls.user = User.objects.create_user("godzilla", "godzilla@zentral.io", get_random_string(12))
    cls.group = Group.objects.create(name=get_random_string(12))
    cls.user.groups.set([cls.group])
    cls.group2 = Group.objects.create(name=get_random_string(12))
    # force the extra links we need for this test
    cls.extra_links = [
        # external link for all users
        {"anchor_text": "_ELTEST1_",
         "url": "https://eltest1.example.com"},
        # proxied resource for the group members
        {"anchor_text": "_ELTEST2_",
         "url": "/eltest2/un/",
         "authorized_groups": [cls.group.name]},
        # proxied resource for all users
        {"anchor_text": "_ELTEST3_",
         "url": "/eltest3/un/deux/"},
        # proxied resource for the group2 members
        {"anchor_text": "_ELTEST4_",
         "url": "/eltest4/un/deux/trois",
         "authorized_groups": [cls.group2.name]},
    ]
    settings._collection["extra_links"] = cls.extra_links