From f05d1938097690c45dca56ab36d1ee8595aa704c Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 2 Jun 2020 10:13:27 +0100 Subject: [PATCH] Explain why this test ignores class attribute --- tests/app/main/views/test_index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py index 5589f8ab1..6b4a2e74e 100644 --- a/tests/app/main/views/test_index.py +++ b/tests/app/main/views/test_index.py @@ -284,6 +284,7 @@ def test_letter_template_preview_links_to_the_correct_image( page = client_request.get( 'main.letter_template', _test_page_title=False, + # Letter HTML doesn’t use the Design System, so elements won’t have class attributes _test_for_elements_without_class=False, branding_style=branding_style )