From aa16e1f2ce6c8f6e40ab74ecc25bc4d933e44dbf Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 18 Apr 2019 13:06:39 +0100 Subject: [PATCH] Add tests to make sure static pages render This will catch if we accidentally break them by adding a `url_for` that references a non-existant endpoint or something like that. --- tests/app/main/views/test_index.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py index 3c0a5998b..3d3088bd2 100644 --- a/tests/app/main/views/test_index.py +++ b/tests/app/main/views/test_index.py @@ -78,7 +78,9 @@ def test_robots(client): @pytest.mark.parametrize('view', [ 'cookies', 'privacy', 'pricing', 'terms', 'roadmap', - 'features', 'callbacks', 'documentation', 'security' + 'features', 'callbacks', 'documentation', 'security', + 'message_status', 'features_email', 'features_sms', + 'features_letters', ]) def test_static_pages( client_request,