mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Fixed more tests
This commit is contained in:
@@ -83,10 +83,6 @@ def test_hiding_pages_from_search_engines(
|
|||||||
[
|
[
|
||||||
"privacy",
|
"privacy",
|
||||||
"pricing",
|
"pricing",
|
||||||
"old_roadmap",
|
|
||||||
"new_features_page"
|
|
||||||
"roadmap",
|
|
||||||
"features",
|
|
||||||
"documentation",
|
"documentation",
|
||||||
"best_practices",
|
"best_practices",
|
||||||
"clear_goals",
|
"clear_goals",
|
||||||
@@ -95,7 +91,6 @@ def test_hiding_pages_from_search_engines(
|
|||||||
"write_for_action",
|
"write_for_action",
|
||||||
"multiple_languages",
|
"multiple_languages",
|
||||||
"benchmark_performance",
|
"benchmark_performance",
|
||||||
"security",
|
|
||||||
"message_status",
|
"message_status",
|
||||||
"how_to_pay",
|
"how_to_pay",
|
||||||
"get_started",
|
"get_started",
|
||||||
@@ -163,11 +158,7 @@ def test_guidance_pages_link_to_service_pages_when_signed_in(client_request, moc
|
|||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
("view", "expected_view"),
|
("view", "expected_view"),
|
||||||
[
|
[
|
||||||
("information_risk_management", "security"),
|
|
||||||
("old_integration_testing", "integration_testing"),
|
("old_integration_testing", "integration_testing"),
|
||||||
("old_roadmap", "roadmap"),
|
|
||||||
("information_security", "using_notify"),
|
|
||||||
("old_using_notify", "using_notify"),
|
|
||||||
("delivery_and_failure", "message_status"),
|
("delivery_and_failure", "message_status"),
|
||||||
("callbacks", "documentation"),
|
("callbacks", "documentation"),
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ def test_should_redirect_after_email_change(
|
|||||||
[
|
[
|
||||||
(
|
(
|
||||||
"me@example.com",
|
"me@example.com",
|
||||||
"Enter a public sector email address or find out who can use Notify",
|
"Enter a public sector email address.",
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
"not_valid",
|
"not_valid",
|
||||||
|
|||||||
Reference in New Issue
Block a user