Commit 7bf77525 authored by Tim Graham's avatar Tim Graham
Browse files

Used testing domain names in mail tests per rfc2606.

parent 8219eabb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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]