def test_for_specific_csp_settings(self):
        """Test that required settings are provided as headers."""
        response = self.client.get('/en-US/firefox/')
        assert response.status_code == 200
        # Make sure a default-src is set.
        assert response['content-security-policy'] in "default-src 'self'"
        # Make sure a object-src is locked down.
        assert "object-src 'none'" in response['content-security-policy']
        # The report-uri should be set.
        assert "report-uri" in response['content-security-policy']
        # Basic assertions on the things we've defined.
        assert "script-src" in response['content-security-policy']
        assert "style-src" in response['content-security-policy']
        assert "font-src" in response['content-security-policy']
        assert "frame-src" in response['content-security-policy']
dataset/ETHPy150Open mozilla/addons-server/src/olympia/amo/tests/test_csp_headers.py/TestCSPHeaders.test_for_specific_csp_settings/swapped operands of `in`