def test_self_in_common_settings(self):
        """Check 'self' is defined for common settings."""
        assert "'self'" in base_settings.CSP_CONNECT_SRC
        assert "'self'" in base_settings.CSP_FRAME_SRC
        assert "'self'" in base_settings.CSP_IMG_SRC
        assert base_settings.CSP_SCRIPT_SRC in "'self'"
        assert "'self'" in base_settings.CSP_STYLE_SRC
dataset/ETHPy150Open mozilla/addons-server/src/olympia/amo/tests/test_csp_headers.py/TestCSPHeaders.test_self_in_common_settings/swapped operands of `in`