Fixing tests

This commit is contained in:
Jonathan Bobel
2025-04-21 11:42:24 -04:00
parent 5d3364a114
commit b4afcb07aa
2 changed files with 3 additions and 3 deletions

View File

@@ -945,7 +945,7 @@ def test_load_edit_template_with_copy_of_template(
assert page.select_one("form")["method"] == "post"
assert page.select_one("input")["value"] == (expected_name)
assert page.select_one("textarea").text == ("\r\nYour ((thing)) is due soon")
assert page.select_one("textarea").text.strip() == ("Your ((thing)) is due soon")
mock_get_service_email_template.assert_called_once_with(
SERVICE_TWO_ID,
TEMPLATE_ONE_ID,