def test_non_200(self):
        response = self.client.get('/404/')
        self.assertNotContains(response, 'script', status_code=404)
Tests for response codes other than 200.
dataset/ETHPy150Open dgouldin/django-modernizr/modernizr/tests.py/ModernizrMiddlewareTest.test_non_200