From 7bf775258e7db4c58b186b979c415321f7b07132 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 20 Mar 2015 12:18:16 -0400 Subject: [PATCH] Used testing domain names in mail tests per rfc2606. --- tests/mail/test_sendtestemail.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/mail/test_sendtestemail.py b/tests/mail/test_sendtestemail.py index 7a4203fb75..cb7737e9ff 100644 --- a/tests/mail/test_sendtestemail.py +++ b/tests/mail/test_sendtestemail.py @@ -17,7 +17,7 @@ class SendTestEmailManagementCommand(SimpleTestCase): """ The mail is sent with the correct subject and recipient. """ - recipient = "joe@somewhere.org" + recipient = "joe@example.com" call_command("sendtestemail", recipient) self.assertEqual(len(mail.outbox), 1) mail_message = mail.outbox[0] @@ -28,7 +28,7 @@ class SendTestEmailManagementCommand(SimpleTestCase): """ The mail may be sent with multiple recipients. """ - recipients = ["joe@somewhere.org", "jane@elsewhere.net"] + recipients = ["joe@example.com", "jane@example.com"] call_command("sendtestemail", recipients[0], recipients[1]) self.assertEqual(len(mail.outbox), 1) mail_message = mail.outbox[0]