From 071df719876e7c2294a329145fda676d2f8e24a3 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Mon, 31 Mar 2025 10:17:16 -0700 Subject: [PATCH] switch parenthesis to brackets for consistency --- .../notifications_utils/test_template_types.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/notifications_utils/test_template_types.py b/tests/notifications_utils/test_template_types.py index a42e410fa..55b928cfe 100644 --- a/tests/notifications_utils/test_template_types.py +++ b/tests/notifications_utils/test_template_types.py @@ -1839,7 +1839,7 @@ def test_is_message_empty_email_and_letter_templates_tries_not_to_count_chars( mock.call( "subject", {}, html="escape", redact_missing_personalisation=False ), - mock.call("((email address))", {}, with_parenthesis=False), + mock.call("((email address))", {}, with_brackets=False), ], ), ( @@ -1857,7 +1857,7 @@ def test_is_message_empty_email_and_letter_templates_tries_not_to_count_chars( {}, [ mock.call( - "((phone number))", {}, with_parenthesis=False, html="escape" + "((phone number))", {}, with_brackets=False, html="escape" ), mock.call( "content", {}, html="escape", redact_missing_personalisation=False @@ -1878,7 +1878,7 @@ def test_is_message_empty_email_and_letter_templates_tries_not_to_count_chars( {}, [ mock.call( - "((phone number))", {}, with_parenthesis=False, html="escape" + "((phone number))", {}, with_brackets=False, html="escape" ), mock.call( "content", {}, html="escape", redact_missing_personalisation=False @@ -1911,7 +1911,7 @@ def test_is_message_empty_email_and_letter_templates_tries_not_to_count_chars( "((address line 7))" ), {}, - with_parenthesis=False, + with_brackets=False, html="escape", ), mock.call( @@ -1942,7 +1942,7 @@ def test_is_message_empty_email_and_letter_templates_tries_not_to_count_chars( "((address line 7))" ), {}, - with_parenthesis=False, + with_brackets=False, html="escape", ), mock.call( @@ -1978,7 +1978,7 @@ def test_is_message_empty_email_and_letter_templates_tries_not_to_count_chars( mock.call( "subject", {}, html="escape", redact_missing_personalisation=True ), - mock.call("((email address))", {}, with_parenthesis=False), + mock.call("((email address))", {}, with_brackets=False), ], ), ( @@ -1987,7 +1987,7 @@ def test_is_message_empty_email_and_letter_templates_tries_not_to_count_chars( {"redact_missing_personalisation": True}, [ mock.call( - "((phone number))", {}, with_parenthesis=False, html="escape" + "((phone number))", {}, with_brackets=False, html="escape" ), mock.call( "content", {}, html="escape", redact_missing_personalisation=True @@ -2000,7 +2000,7 @@ def test_is_message_empty_email_and_letter_templates_tries_not_to_count_chars( {"redact_missing_personalisation": True}, [ mock.call( - "((phone number))", {}, with_parenthesis=False, html="escape" + "((phone number))", {}, with_brackets=False, html="escape" ), mock.call( "content", {}, html="escape", redact_missing_personalisation=True @@ -2043,7 +2043,7 @@ def test_is_message_empty_email_and_letter_templates_tries_not_to_count_chars( "((address line 7))" ), {}, - with_parenthesis=False, + with_brackets=False, html="escape", ), mock.call(