Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #11546 -- Modified the mail regression test to avoid getting hu…

…ng up on 32/64 bit differences. Thanks to Richard Davies for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 4a01812c15eac2b40d8605764be79ba2578113d5 1 parent 5d57edc
@freakboy3742 freakboy3742 authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 tests/regressiontests/mail/tests.py
View
7 tests/regressiontests/mail/tests.py
@@ -90,8 +90,8 @@
# Make sure we can manually set the From header (#9214)
->>> email = EmailMessage('Subject', 'Content', 'bounce@example.com', ['to@example.com'], headers={'From': 'from@example.com'})
->>> message = email.message()
+>>> email = EmailMessage('Subject', 'Content', 'bounce@example.com', ['to@example.com'], headers={'From': 'from@example.com'})
+>>> message = email.message()
>>> message['From']
'from@example.com'
@@ -115,8 +115,7 @@
Date: Fri, 09 Nov 2001 01:08:47 -0000
Message-ID: foo
...
-Content-Type: multipart/alternative; boundary="..."
-MIME-Version: 1.0
+Content-Type: multipart/alternative;...
...
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0

0 comments on commit 4a01812

Please sign in to comment.
Something went wrong with that request. Please try again.