matching the expected string with the test string

This commit is contained in:
basel 2025-11-27 02:18:28 +02:00
parent 268d2221d6
commit 35d70f07fd

View file

@ -14,14 +14,14 @@ from analytical.utils import AnalyticalException
expected_html = """\
<script>
(function (c, s, q, u, a, r, e) {
c.hj = c.hj || function(){ (c.hj.q = c.hj.q || []).push(arguments) };
c._hjSettings = { hjid: 123456789 };
c.hj=c.hj||function(){(c.hj.q=c.hj.q||[]).push(arguments)};
c._hjSettings = { hjid: a };
r = s.getElementsByTagName('head')[0];
e = s.createElement('script');
e.async = true;
e.src = q + c._hjSettings.hjid + u;
r.appendChild(e);
})(window, document, 'https://static.hj.contentsquare.net/c/csq-', '.js', 123456789);
})(window, document, 'https://static.hj.contentsquare.net/c/csq-', '.js', %(CONTENTSQUARE_SITE_ID)s);
</script>
"""