def METHOD_NAME(self):
    """api returns 403 if post has no edits record"""
    response = self.client.get(self.api_link)
    self.assertEqual(response.status_code, 403)
    self.assertEqual(
        response.json(), {"detail": "Edits record is unavailable for this post."}
    )
    self.logout_user()
    response = self.client.get(self.api_link)
    self.assertEqual(response.status_code, 403)
    self.assertEqual(
        response.json(), {"detail": "Edits record is unavailable for this post."}
    )