From ff0f0e15657eb4d8405919b4d2d9b6a456fcd184 Mon Sep 17 00:00:00 2001 From: Dustin Ingram Date: Fri, 18 Aug 2023 11:32:44 -0400 Subject: [PATCH] Update broken test in `tests/unit/email/test_services.py` (#14397) --- tests/unit/email/test_services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/email/test_services.py b/tests/unit/email/test_services.py index cf36e180727a..5619e4141f57 100644 --- a/tests/unit/email/test_services.py +++ b/tests/unit/email/test_services.py @@ -347,7 +347,7 @@ def test_last_sent(self, db_session): for address in [to, "somebody_else@example.com"]: for subject in [subject, "I do not care about this"]: sender.send( - f"Foobar <{ to }>", + f"Foobar <{ address }>", EmailMessage( subject=subject, body_text="This is a plain text body" ),