From 3db62a1921753a391a630403c94cdddda8a6a0f0 Mon Sep 17 00:00:00 2001 From: Carlo Costino Date: Tue, 29 Jul 2025 17:55:04 -0400 Subject: [PATCH] Fix broken test Signed-off-by: Carlo Costino --- tests/app/main/views/test_headers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/main/views/test_headers.py b/tests/app/main/views/test_headers.py index 5551d9035..33ef2c540 100644 --- a/tests/app/main/views/test_headers.py +++ b/tests/app/main/views/test_headers.py @@ -49,4 +49,4 @@ def test_owasp_useful_headers_set( expected_sources <= actual_sources ), f"Missing sources in connect-src: {expected_sources - actual_sources}" assert search(r"style-src 'self' static\.example\.com 'nonce-.*';", csp) - assert search(r"img-src 'self' static\.example\.com static-logos\.test\.com", csp) + assert search(r"img-src 'self' static\.example\.com", csp)