def METHOD_NAME(self):
    self.login("auth.add_group", "auth.view_group")
    name = get_random_string(12)
    response = self.client.post(reverse("accounts:create_group"),
                                {"name": name},
                                follow=True)
    self.assertTemplateUsed("accounts/group_detail.html")
    self.assertContains(response, name)