def assert404(self, url, msg_prefix=''):
        if msg_prefix:
            msg_prefix += ": "
        response = self.client.get(url)
        self.assertEqual(response.status_code, 404, str(msg_prefix) + u"Page at {0} should return 404, got {1}.".format(url, response.status_code))
Test that an URL does not exist.
dataset/ETHPy150Open edoburu/django-fluent-contents/fluent_contents/tests/utils.py/AppTestCase.assert404