From bd708b29b9eee7eb3da7db1df940ea9526dcc004 Mon Sep 17 00:00:00 2001 From: Brett Kochendorfer Date: Wed, 7 Aug 2024 09:33:08 -0500 Subject: [PATCH] fix(tests/cdn): Make check case insensitive --- tests/functional/test_cdn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/test_cdn.py b/tests/functional/test_cdn.py index 1d72c5ac552..f40ca3c3857 100644 --- a/tests/functional/test_cdn.py +++ b/tests/functional/test_cdn.py @@ -125,7 +125,7 @@ def test_cdn_cache(base_url): # then test that caching is working resp = requests.get(full_url, timeout=5) - assert "Hit" in resp.headers["x-cache"] + assert "hit" in resp.headers["x-cache"].lower() @pytest.mark.cdn