fix tests

This commit is contained in:
Kenneth Kehl
2025-10-03 07:59:21 -07:00
parent d2f2cc7a3c
commit c27d46945d

View File

@@ -163,11 +163,11 @@ def test_should_send_personalised_template_to_correct_email_provider_and_persist
reply_to_address=None,
)
# assert "<!DOCTYPE html" in app.aws_ses_client.send_email.call_args[1]["html_body"]
# assert (
# "&lt;em&gt;some HTML&lt;/em&gt;"
# in app.aws_ses_client.send_email.call_args[1]["html_body"]
# )
assert "<!DOCTYPE html" in mock_ses.send_email.call_args[1]["html_body"]
assert (
"&lt;em&gt;some HTML&lt;/em&gt;"
in mock_ses.send_email.call_args[1]["html_body"]
)
notification = (
db.session.execute(