def test_page_not_found(self):
        for url in self.non_existing_urls:
            response = self.client.get(url)
            self.assertEqual(response.status_code, 404)
A 404 status is returned by the page_not_found view
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/view_tests/tests/test_defaults.py/DefaultsTests.test_page_not_found