update test instead of not updating test

This commit is contained in:
Steven Reilly
2023-11-27 16:26:22 -05:00
committed by GitHub
parent ff44be5279
commit 911552b858

View File

@@ -17,7 +17,8 @@ def test_owasp_useful_headers_set(
assert search(r"form-action 'self';", csp)
assert search(
r"script-src 'self' static\.example\.com 'unsafe-eval' https:\/\/js-agent\.new"
r"relic\.com https:\/\/gov-bam\.nr-data\.net 'nonce-.*';",
r"relic\.com https:\/\/gov-bam\.nr-data\.net https:\/\/www\.googletagmanager\."
r"com 'nonce-.*';",
csp,
)
assert search(r"connect-src 'self' https:\/\/gov-bam.nr-data\.net;", csp)