From 1dbb3691435f4e2aae2880f6c42996a87d681be2 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Wed, 16 Oct 2024 08:38:12 -0700 Subject: [PATCH] fix test --- tests/app/main/views/test_security_policy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/app/main/views/test_security_policy.py b/tests/app/main/views/test_security_policy.py index 61620516d..456724cfa 100644 --- a/tests/app/main/views/test_security_policy.py +++ b/tests/app/main/views/test_security_policy.py @@ -11,6 +11,6 @@ import pytest def test_security_policy_redirects_to_policy(client_request, url): client_request.get_url( url, - _expected_status=302, - _expected_redirect="https://vdp.cabinetoffice.gov.uk/.well-known/security.txt", + _test_page_title=False, + _expected_status=200, )