summaryrefslogtreecommitdiff
path: root/tests/mail/test_sendtestemail.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-03-20 12:18:16 -0400
committerTim Graham <timograham@gmail.com>2015-03-20 12:19:14 -0400
commit7bf775258e7db4c58b186b979c415321f7b07132 (patch)
tree815f94593cd6c19fa9afe639ddc11de33411df3e /tests/mail/test_sendtestemail.py
parent8219eabbba6e8f6d8569792615935011b5cf0771 (diff)
Used testing domain names in mail tests per rfc2606.
Diffstat (limited to 'tests/mail/test_sendtestemail.py')
-rw-r--r--tests/mail/test_sendtestemail.py4
1 files 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]