def METHOD_NAME(self):
    """api validates that user has permission to delete poll in thread"""
    response = self.client.delete(self.api_link)
    self.assertEqual(response.status_code, 403)
    self.assertEqual(response.json(), {"detail": "You can't delete polls."})