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, reply_to_address=None,
) )
# assert "<!DOCTYPE html" 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 ( 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 mock_ses.send_email.call_args[1]["html_body"]
# ) )
notification = ( notification = (
db.session.execute( db.session.execute(