@override_settings(SECURE_BROWSER_XSS_FILTER=True)
    def test_xss_filter_on(self):
        self.assertEqual(
            self.process_response()["x-xss-protection"],
            "1; mode=block")
With BROWSER_XSS_FILTER set to True, the middleware adds
dataset/ETHPy150Open django/django/tests/middleware/test_security.py/SecurityMiddlewareTest.test_xss_filter_on