diff --git a/src/openforms/emails/tests/test_confirmation_email.py b/src/openforms/emails/tests/test_confirmation_email.py index fa09e93b90..47dcf90556 100644 --- a/src/openforms/emails/tests/test_confirmation_email.py +++ b/src/openforms/emails/tests/test_confirmation_email.py @@ -323,7 +323,7 @@ def test_checkboxes_ordering(self): context = get_confirmation_email_context_data(submission) rendered_content = render_email_template("{% summary %}", context) - self.assertIn("Value 1; Value 2", rendered_content) + self.assertInHTML("", rendered_content) def test_get_confirmation_email_templates(self): email_template1 = ConfirmationEmailTemplateFactory.create( diff --git a/src/openforms/registrations/contrib/email/tests/test_backend.py b/src/openforms/registrations/contrib/email/tests/test_backend.py index d23c1142ce..ec6dcf0293 100644 --- a/src/openforms/registrations/contrib/email/tests/test_backend.py +++ b/src/openforms/registrations/contrib/email/tests/test_backend.py @@ -217,7 +217,9 @@ def test_submission_with_email_backend(self): self.assertTagWithTextIn("td", "foo", message_html) self.assertTagWithTextIn("td", "bar", message_html) self.assertTagWithTextIn("td", "some_list", message_html) - self.assertTagWithTextIn("td", "value1; value2", message_html) + self.assertTagWithTextIn( + "td", "", message_html + ) cosigner_line = f"{_('Co-signed by')}: Demo Person" @@ -777,7 +779,7 @@ def test_regression_nested_components_columns(self): message = mail.outbox[0] message_html = message.alternatives[0][0] - self.assertIn("Backend; Frontend", message_html) + self.assertInHTML("", message_html) @patch("openforms.registrations.contrib.email.plugin.EmailConfig.get_solo") def test_with_global_config_attach_files(self, mock_get_solo): diff --git a/src/openforms/submissions/tests/test_submission_report.py b/src/openforms/submissions/tests/test_submission_report.py index 2a80608246..6c53b56368 100644 --- a/src/openforms/submissions/tests/test_submission_report.py +++ b/src/openforms/submissions/tests/test_submission_report.py @@ -138,7 +138,7 @@ def test_report_is_generated_in_same_language_as_submission(self): ("postcode", "3744 AA"), ("radio", "Radio number one"), ("select", "A fine selection"), - ("selectboxes", "This; That; The Other"), + ("selectboxes", ""), ("signature", SIGNATURE), ("textarea", "Largish predetermined ASCII"), ("textfield", "Short predetermined ASCII"),