'Assert that a successful POST has been made, that the response
redirects correctly, and that the correct object has been created.'

def _assert_post_success(self, response):

    self.assertRedirects(response, reverse('api_admin:api-status'))
    api_request = ApiAccessRequest.objects.get(user=self.user)
    self.assertEqual(api_request.status, ApiAccessRequest.PENDING)
    return api_request
