@override_settings(SECURE_BROWSER_XSS_FILTER=True)
    def test_xss_filter_on(self):
        self.assertEqual(
            self.process_response()["x-xss-protection"],
            "1; mode=block")
Creates YT bundle custom field if needed and attaches it to project with id project_id. If Field is already attached to project,
dataset/ETHPy150Open django/django/tests/middleware/test_security.py/SecurityMiddlewareTest.test_xss_filter_on--crossover with--dataset/ETHPy150Open JetBrains/youtrack-rest-python-library/python/trac2youtrack.py/create_yt_bundle_custom_field