'Searching for something that doesn\'t exist should 404.'

def test_json_view_404(self):

    url = reverse('wiki.json', force_locale=True)
    resp = self.client.get(url, {'title': 'an    article    title    ok.'})
    eq_(404, resp.status_code)
