def METHOD_NAME(self):
    """
    Test search view
    """
    url = reverse("post_search")
    # Get form data
    data = dict(query="Test post")
    request = fake_request(url=url, data=data, method="GET", user=self.owner)
    # Preform search on test index
    response = views.post_search(request=request)
    self.assertEqual(response.status_code, 200, "Error preforming search.")