From 46d20e3cf5d54e8529f774fdecfe18b389e65c45 Mon Sep 17 00:00:00 2001 From: "mark.j0hnst0n" Date: Tue, 10 Dec 2024 12:14:45 +0000 Subject: [PATCH] test amendment to account for removal of template tag --- api/letter_templates/tests/test_letter_templates.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/letter_templates/tests/test_letter_templates.py b/api/letter_templates/tests/test_letter_templates.py index 472eaafe8c..76cb804803 100644 --- a/api/letter_templates/tests/test_letter_templates.py +++ b/api/letter_templates/tests/test_letter_templates.py @@ -30,7 +30,7 @@ def test_refusal_template(self): self.assertIn("Test Good 1", rendered_template) - self.assertIn("Test Good 2\n Another line", rendered_template) + self.assertIn("Test Good 2, Another line", rendered_template) self.assertIn("Criterion 1", rendered_template) self.assertIn("Test Description 1", rendered_template) @@ -59,7 +59,7 @@ def test_siel_template_uses_correct_quantity_and_value(self): {"goods": goods_data}, ) - self.assertIn("Test Good 2\n Another line", rendered_template) + self.assertIn("Test Good 2, Another line", rendered_template) self.assertIn("999111", rendered_template) self.assertIn("999222", rendered_template) self.assertNotIn("555111", rendered_template)