def test_cookie_name(self):
        """
        Tests assigning to settings.MODERNIZR_COOKIE_NAME.
        """
        settings.MODERNIZR_COOKIE_NAME = 'distinctive_name'

        url = '%s?a=b&c=d&e=f' % settings.MODERNIZR_SENTINEL_IMAGE_URL
        response = self.client.get(url)
        self.assertTrue(settings.MODERNIZR_COOKIE_NAME in response.cookies)
dataset/ETHPy150Open dgouldin/django-modernizr/modernizr/tests.py/ModernizrMiddlewareTest.test_cookie_name/original