def test_tag(self):
        settings.MODERNIZR_INCLUDE_TAG = 'head'

        response = self.client.get('/tag/')
        self.assertContains(response, '</script>\n</head>')
Tests assigning to settings.MODERNIZR_INCLUDE_TAG.
dataset/ETHPy150Open dgouldin/django-modernizr/modernizr/tests.py/ModernizrMiddlewareTest.test_tag