def test_analytics_in_common_settings(self):
        """Check for anaytics hosts in img-src and script-src"""
        analytics_host = base_settings.ANALYTICS_HOST
        assert analytics_host in base_settings.CSP_IMG_SRC
        assert analytics_host in base_settings.CSP_SCRIPT_SRC
dataset/ETHPy150Open mozilla/addons-server/src/olympia/amo/tests/test_csp_headers.py/TestCSPHeaders.test_analytics_in_common_settings/original