def METHOD_NAME(self):
    self._login()
    response = self.client.get(reverse("base:index"))
    filtered_links = [link for link in self.extra_links
                      if not link.get("authorized_groups") or self.group.name in link["authorized_groups"]]
    self.assertEqual(response.context["zentral_extra_links"], filtered_links)
    self.assertContains(response, "_ELTEST1_")
    self.assertContains(response, "https://eltest1.example.com")
    self.assertContains(response, "_ELTEST2_")
    self.assertContains(response, "/eltest2/un/")
    self.assertContains(response, "_ELTEST3_")
    self.assertContains(response, "/eltest3/un/deux/")
    self.assertNotContains(response, "_ELTEST4_")
    self.assertNotContains(response, "/eltest4/un/deux/trois")