From b8735ea622a09e1be13e6b8a81a6c7dfa0fe9c10 Mon Sep 17 00:00:00 2001 From: alexjanousekGSA Date: Mon, 13 Jan 2025 15:53:57 -0500 Subject: [PATCH] Fixed more tests --- tests/app/main/views/test_index.py | 9 --------- tests/app/main/views/test_user_profile.py | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py index 574f74e69..26f3d529a 100644 --- a/tests/app/main/views/test_index.py +++ b/tests/app/main/views/test_index.py @@ -83,10 +83,6 @@ def test_hiding_pages_from_search_engines( [ "privacy", "pricing", - "old_roadmap", - "new_features_page" - "roadmap", - "features", "documentation", "best_practices", "clear_goals", @@ -95,7 +91,6 @@ def test_hiding_pages_from_search_engines( "write_for_action", "multiple_languages", "benchmark_performance", - "security", "message_status", "how_to_pay", "get_started", @@ -163,11 +158,7 @@ def test_guidance_pages_link_to_service_pages_when_signed_in(client_request, moc @pytest.mark.parametrize( ("view", "expected_view"), [ - ("information_risk_management", "security"), ("old_integration_testing", "integration_testing"), - ("old_roadmap", "roadmap"), - ("information_security", "using_notify"), - ("old_using_notify", "using_notify"), ("delivery_and_failure", "message_status"), ("callbacks", "documentation"), ], diff --git a/tests/app/main/views/test_user_profile.py b/tests/app/main/views/test_user_profile.py index 4fd2004cd..0d71b0736 100644 --- a/tests/app/main/views/test_user_profile.py +++ b/tests/app/main/views/test_user_profile.py @@ -84,7 +84,7 @@ def test_should_redirect_after_email_change( [ ( "me@example.com", - "Enter a public sector email address or find out who can use Notify", + "Enter a public sector email address.", ), ( "not_valid",