def METHOD_NAME(self):
    self.client.login(username="foo_user", password="123456")
    response = self.client.get(reverse("oauth2_provider:detail", args=(self.app_foo_1.pk,)))
    self.assertEqual(response.status_code, 200)
    self.assertContains(response, self.app_foo_1.name)
    self.assertContains(response, self.app_foo_1.redirect_uris)
    self.assertContains(response, self.app_foo_1.post_logout_redirect_uris)
    self.assertContains(response, self.app_foo_1.client_type)
    self.assertContains(response, self.app_foo_1.authorization_grant_type)