black
Some checks failed
CI / test (push) Successful in 2m28s
Lint / test (push) Failing after 29s
Trivy / test (push) Successful in 23s

This commit is contained in:
Miguel Jacq 2026-01-02 10:03:39 +11:00
parent 3ed3a1ebe1
commit 0f6c2a3458
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9

View file

@ -55,7 +55,7 @@ def test_include_sourcemaps_adds_jsdelivr_to_connect_src():
res = asyncio.run( res = asyncio.run(
crawl_and_generate_csp( crawl_and_generate_csp(
"https://enroll.sh", "https://enroll.sh",
max_pages=1, # faster; bootstrap assets are on the homepage max_pages=1, # faster; bootstrap assets are on the homepage
timeout_ms=60000, timeout_ms=60000,
include_sourcemaps=True, include_sourcemaps=True,
) )
@ -109,4 +109,3 @@ def test_parse_csp_smoke():
assert d["default-src"] == ["'self'"] assert d["default-src"] == ["'self'"]
assert d["object-src"] == ["'none'"] assert d["object-src"] == ["'none'"]
assert d["upgrade-insecure-requests"] == [] assert d["upgrade-insecure-requests"] == []