'Verify that if the user has created their client credentials, they
are shown on the status page.'

def test_get_with_existing_application(self):

    ApiAccessRequestFactory(user=self.user, status=ApiAccessRequest.APPROVED)
    application = ApplicationFactory(user=self.user)
    response = self.client.get(self.url)
    self.assertEqual(response.status_code, 200)
    unicode_content = response.content.decode('utf-8')
    self.assertIn(application.client_secret, unicode_content)
    self.assertIn(application.client_id, unicode_content)
    self.assertIn(application.redirect_uris, unicode_content)
