def METHOD_NAME(
    self,
):
    date = timezone.now().date()
    issue = Issue.objects.create(title="Title 1", status="active", published_at=date)
    request = self.factory.get(self.url)
    response = IndexView.as_view()(request)
    self.assertEqual(response.status_code, 200)
    self.assertEqual(response.context_data["issue"], issue)