fix tests

This commit is contained in:
Kenneth Kehl
2025-10-03 07:50:43 -07:00
parent 7a78dfe96f
commit d2f2cc7a3c

View File

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