Permalink
Browse files

Used testing domain names in mail tests per rfc2606.

  • Loading branch information...
1 parent 8219eab commit 7bf775258e7db4c58b186b979c415321f7b07132 @timgraham timgraham committed Mar 20, 2015
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/mail/test_sendtestemail.py
@@ -17,7 +17,7 @@ def test_send_test_email(self):
"""
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 @@ def test_send_test_email_with_multiple_addresses(self):
"""
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]

0 comments on commit 7bf7752

Please sign in to comment.