def METHOD_NAME(self):
    """api validates that poll id is integer"""
    api_link = reverse(
        "misago:api:thread-poll-detail",
        kwargs={"thread_pk": self.thread.pk, "pk": "sad98as7d97sa98"},
    )
    response = self.client.delete(api_link)
    self.assertEqual(response.status_code, 404)