def METHOD_NAME(self):
    self.login_only_admin()
    response = self.client.get(reverse("wagtailadmin_home"))
    self.assertNotContains(response, TestGenericSetting._meta.verbose_name)
    self.assertNotContains(
        response,
        reverse("wagtailsettings:edit", args=("tests", "testgenericsetting")),
    )